52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for danarashad

I have users insert text on pages. When they do a copy paste from word. With a bullet point or a '. It shows up on the pages as []. Can someone help. Is there a safe html insert for coldfusion or a safe text insert. That would strip out …

Web Development coldfusion
Member Avatar for danarashad
0
149
Member Avatar for jonpb

Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the …

Web Development image javascript
Member Avatar for essential
0
284
Member Avatar for CS Lover

Hello, Iam working on website, technically this is my first j2ee website .. so iam trying my best here .. I tried to make simple front-controller technique using servlets + JSP .. and this is wat i done : index.java [CODE] Map event = new HashMap(); event.put("cats", new cats()); event.put("login", …

Web Development data-structure java-jsp
Member Avatar for ~s.o.s~
0
144
Member Avatar for Vanq69

Hi guys, I cant seem to work out a way to keep my paragraphs when using a text area as part of a form. I send the form using ajax and then display the text again in a textarea to allow editing before finally displaying it on a standard page. …

Web Development php
Member Avatar for Ezzaral
0
94
Member Avatar for rajeesh_rsn

I had a web site ( Real Estate) and visitor can add data. But I only need to add in site only after my approval. So I make a column in database that "approved". When an user submit data then Enter the value "no" in "approved" column. When I approve …

Web Development php
Member Avatar for Designer_101
0
127
Member Avatar for hidash_in

Hi All, I am developing online examination process using jsp. The questions and options are fetched from the text files. For each page i am displaying one question and four options. I am calculating the answers by using radio button. I given a next button and previous button for navigation. …

Web Development java-jsp
Member Avatar for masijade
0
307
Member Avatar for veledrom

Hi, Code below generates this error [inlinecode]Warning: Missing argument 1, 2, 3for MyWebpage::pageElements(): Class_for_HTML.class on line 18 )[/inlinecode] but i cannot solve the problem. Thanks [code] <?php class MyWebpage { var $header = "<html>\n<head>\n"; var $title; var $keywords; var $content; var $footer = "</body></html>"; function generatePage() { echo $this->header; $this->pageElements(); …

Web Development php
Member Avatar for veledrom
0
52
Member Avatar for Newbie 123

hii Does anyone know what CSRF is. Thanks for the help

Web Development php
Member Avatar for Designer_101
0
94
Member Avatar for jain4

Hi there, I am very new to ASP.net. I have just started making a website in ASP.net 2.0. In this website, i want to have a admin section which can be accessed only after the admin logs in with a login page. Now I am using custom asp.net script then …

Web Development asp.net
Member Avatar for jain4
0
92
Member Avatar for praveen_dusari

hi all, when i want delete items i will show a alert to users like are you sure you want delete .now i want a X symbol or danger symbol in that alert box ,i dont have any idea how to do this any ideas! thank you

Web Development javascript
Member Avatar for praveen_dusari
0
64
Member Avatar for jyotiu

Hi All I am new to PHP and just got a project ;) that needs me to extract links from the page, i have got the part of page that have links in a string and was wondering if i can extract all the links in that string. String is …

Web Development php
Member Avatar for martin5211
0
281
Member Avatar for HITMANOF44th

making php code to pull data for database now it pulls most data fine with the like statment now is there anyway to make it pull both things that are lower and uper case ? [code=syntax]$query = "SELECT * FROM `users` WHERE `$lookby` LIKE '%$lookfor%'";[/code]

Web Development php
Member Avatar for Designer_101
0
102
Member Avatar for emarshah

Hey All, I have a Register.php page, whose code is as follows. On Register Me button, i want to restore values back in text boxes, when some invalid input is in textboxes. How can i do this? [code] <?php session_start(void); ?> <html> <head> <title>Login System Using PHP</title> <meta http-equiv="Content-Type" content="text/html; …

Web Development php
Member Avatar for Designer_101
0
145
Member Avatar for ramareddy_dotne

I hav a program with 2 textboxes in which I hav to display data fields from sql tables and insert values in to table through these 2 textboxes. the program goes like this Dim ds As New DataSet Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load …

Web Development asp.net dataset display sql
Member Avatar for ShawnMilo
0
3K
Member Avatar for kischi

Hi I'm trying to make a file upload function for pictures. So can anyone please help me to make a simple file upload function in c#? I've tried to make one, but it won't seem to work, so I've decided to start over, just with a simple file upload funktion. …

Web Development asp.net file-system
Member Avatar for mail2saion
0
245
Member Avatar for szita1

hi all, im new to php and im stuck with a "constant" problem. i was studying a code snippet and trying to creat a constant with define() like this: define("ABC",1,TRUE). i dont understand why it results nothing if the second parameter is 0. The consant type is boolean and it …

Web Development php
Member Avatar for ShawnCplus
0
87
Member Avatar for ChaosTheory

Fatal error: Cannot use object of type DBConnect as array in C:\xampp\htdocs\class.DBConnect.php on line 28 [code] class DBConnect { // access is private for all class variables private $c_host_name; private $c_user_name; private $c_user_password; private $c_user_database; private $c_db_link; private $c_arr_errors; private $c_obj_prepared_query_statement; // class constructor public function __construct($p_arr_connection_string) { $this->c_host_name = …

Web Development php
Member Avatar for ChaosTheory
0
139
Member Avatar for ramanand

Guys, i have installed PHP 5 on my windows system, i am able to browse to info.php which shows a listing, but if i create another simple page with a echo statement then i and not able to browse that page. i get the HTTP 500 internal server error. i …

Web Development php windows-server
Member Avatar for ramanand
0
162
Member Avatar for Merlin33069

WARNING huge php script, watch your head /WARNING :D Ok, i want to start by saying that this is part of a free script im making and therefor may be used by anyone, the script if available at: [URL="http://pctipforum.com/index.php?topic=345.0"] http://pctipforum.com/index.php?topic=345.0[/URL] next i want to say that this is a login …

Web Development php
Member Avatar for Designer_101
0
306
Member Avatar for Newbie 123

Hi I have the following [CODE]$_SESSION('userid') = true;[/CODE] How is it i would get the user to logout? I guess by deleting the session? Thanks

Web Development php session
Member Avatar for Newbie 123
0
81
Member Avatar for Designer_101

Hi I have this login box that drops down once clicked. I would like it so if the user doesnt click one of the fields within lets say 8 seconds then the box minimizes automatically. Here is what I have: [CODE] <script language="javascript"> function makevisible() { document.getElementById("dropform").style.display="block"; setTimeout("minimize()",4000); } function …

Web Development javascript
Member Avatar for Designer_101
0
114
Member Avatar for KJATL

hi there im a novice to PHP and have been trying to put together a form with two buttons that post a variable value. The value is tested and then php perfroms whatever action that value points to (Update or Delete). My problem is that when I click the button, …

Web Development php
Member Avatar for KJATL
0
340
Member Avatar for danielagaba

Hi I designed an online quiz site and i wanted users after mtaking the quiz, to be able to click button and their results are printed from a printer. Having trouble coming up with the source code. Could someone point me in the right direction?

Web Development php printer
Member Avatar for HITMANOF44th
0
58
Member Avatar for will910

hi im a newbie at this but im getting a error message that says: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/pickurau/public_html/classes/Lib/Query.php on line 27 and line 27 starts with the if(!mysql_affected_rows() || mysql_num_rows($this->rs) < 1) return false; does anyone know how can i fix …

Web Development mysql php
Member Avatar for rm_daniweb
0
274
Member Avatar for navi17

Hi guys, i m working on matrimonial website. now a days preparing admin panel for that... in the admin panel when admin click on edit(here i m able to recieve id using $_GET), another page opens lets call it showsuboptions, with three sub options edit profile, edit desired profile, edit …

Web Development php
Member Avatar for rm_daniweb
0
154
Member Avatar for kssi89

Hello, Maybe I do not understand the concept behind a constant definition but I have been trying to define a default location for file uploads: [CODE] <?php // Define the upload path define('UPLOADPATH', 'C:\wamp\www\web\images_files'); [/CODE] Every time I try to run the script: [CODE] Notice: Use of undefined constant UPLOADPATH …

Web Development php
Member Avatar for rm_daniweb
0
90
Member Avatar for functionsys

Greetings to you .. gentleman First thanks for all ... and keep it up i'm using ASP.NET 2008 C#.NET i have controlpanel.aspx page .. this page i don't want from any user not login to see it .. when user login and user name and password is ok then show …

Web Development asp.net vbulletin
Member Avatar for functionsys
0
128
Member Avatar for brightline

I has a login page in my web application, when the user login my web application through login page, he is redirected to the welcome page. All this is ordinary, but the problem is when the user press Back button of IE he return to the login page then if …

Web Development asp.net
Member Avatar for P.K.Chaudhary
0
101
Member Avatar for newboi

Hello, I have a form inside a form. The problem is that IE does not submit the parent form for some reason... It works very well in FF and chrome see [url="http://www.daniweb.com/forums/thread110758.html"]same problem[/url] Any help appreciated.

Web Development javascript
Member Avatar for ~s.o.s~
0
145
Member Avatar for pradeepfusion

Hi, Every body, I have one problem that I want to get window logged in user in asp.net, each and every time it is giving ASPNET, I want only window user. I have WindowsIdentity class, HttpRequest.ServerVariables, Environment Variable class. But still giving ASPNET, Plz help me. Thanks

Web Development asp asp.net
Member Avatar for pradeepfusion
0
196
Member Avatar for whitestream6

I tried looking on Google for info on this, but not much came to light. I'm trying to do a query string that takes info from text files and renders them as PAGENAME.php?id=1 - without using a database, if possible. My file is called test.php and this is its content: …

Web Development php
Member Avatar for BzzBee
0
137
Member Avatar for vidhyaponnusamy

Hi, I want to create tree like menus in php,but the values will be retrieved from mysql,i want menus with submenus which means tree structure,i don't know how to display the mysql value in a menu tree structure,please help me out for this problem.

Web Development php
Member Avatar for vidhyaponnusamy
0
94
Member Avatar for Stefano Mtangoo

Hello all, I have been teaching myself PHP through others writting; so bear with me if you find something foolish. Having said so, I want to make a simple Music library with MySQL/PHP. I have made this very simple Login form as shown below. I want after someone successful login …

Web Development php
Member Avatar for Stefano Mtangoo
0
90
Member Avatar for pbfiddler

I've installed coldfusion and its server. I have two major questions and am completely new to CF. 1. I copied a folder from our website (our hosting company put it together for us) into the wwwroot folder. I am able to access only one of the pages of that folder--the …

Web Development coldfusion linked-list
Member Avatar for wblakenc
0
194
Member Avatar for julseypart

Hi, i would like to programatically send the user an email of all the files they have backed up + associated file information. My question is how can i send the body in a formated way for example To: userEmail() subject: File Backup Report Body: All users files here e.g. …

Web Development asp.net email
Member Avatar for julseypart
0
159
Member Avatar for alicem

I'm using XAMPP to test a mini-website - I have some zip files I'd like to be able to place on the server, then for them to be unzipped using PHP via a browser. How can I do this? I've tried the following... [code] <?php $zip = new ZipArchive; $res …

Web Development php
Member Avatar for alicem
0
663
Member Avatar for konczuras

Hello, I'm new to javascript, and need some help, why the following code refuses to do anything. [CODE]<html> <head> <style type="text/css"> .btn { background:URL("elemer.jpg"); width:200px; height:100px; display:block; } .btn.sfhover, .btn:hover { background-image:none; } </style> <script type="text/javascript"> sfHover = function() { var sfEls = document.getElementById(„btn”); sfEls.onmouseover=function() { this.className+=” sfhover”; sfEls.onmouseout=function() { …

Web Development html-css javascript
Member Avatar for konczuras
0
166
Member Avatar for rajeesh_rsn

Hi i had a php page which show thumbnail images from a database. I need to show enlarged image when mouse roll over to that thumbnail one. Pre-loading of all of that images is not possible ( it will take time to page loading ) . It must be load …

Web Development image php
Member Avatar for almostbob
0
144
Member Avatar for bhushanpatil

I have 2 combobox(select) on html page and i want to populate data in second combobox based on data selected in first combobox by user.I am using jsp and ajax for that.I have Ajax code but i dont know how to return data in combobox from server side jsp page.. …

Web Development java-jsp
Member Avatar for bhushanpatil
0
403
Member Avatar for Designer_101

Hi Is it posible to display a list of members that are currently logged in on my website in PHP. Or should I use AJAX ? Any ideas, and if possible how would I go about doing this. Happy easter everyone :)

Web Development display php
Member Avatar for Designer_101
0
227
Member Avatar for jbh6gc

Hello all, A friend and I are working on a website and we are having some issues with the timeout functionality. We set $_SESSION['activeTime'] to the current time at login and then We are using the code below at the top of every page to set the session time every …

Web Development php session
Member Avatar for Designer_101
0
695
Member Avatar for samycbe

how to make a validation like vb in asp.net? I want to make a text box should only accept numeric values.... samy

Web Development asp asp.net
Member Avatar for nil
0
147
Member Avatar for ak2ktech

Dear Friends, i host a website and use visual web developer for aspx ... i want to create a form , in which users will aftre logging to my page enter 10-12 fields and that will be appended in a backend database on my server eg MS Access... please suggest..

Web Development asp.net web-server
Member Avatar for mail2saion
0
119
Member Avatar for marjan_m

Hi, I am trying to display 5 pics named "pic1", "pic2"....."pic5" in one div. I have settled that the div will be visible after 5000 ms, and then i have settled cleartimeout function to make the div again hidden. I need to revise it 5 times so that 5 pictures …

Web Development php
Member Avatar for cwarn23
0
111
Member Avatar for brechtjah

Hi everyone, because I've recently decided to try making a webgame, I've begun scripting an editor for it. However, I'm quite stuck on the little project and would like some help. The script works as follows, a directory of tiles is being read via PHP (however not alphabetically). These tiles …

Web Development html-css php
Member Avatar for somedude3488
0
141
Member Avatar for akash_msrit

hi friends, i am new to php. i have source code to logout from a page when that page is inactive for certain seconds. and it is logging out . but the thing is it is logging out even when my mouse and keyboard is active. i.e. even when i …

Web Development open-source php web-server
Member Avatar for tux4life
0
196
Member Avatar for brechtjah

Hi, I wanted to post my login system I will use for an upcoming site for rating. I want to ensure a safe login, so please, if you know anything about this and see a security leak somewhere... Please post, any remarks are welcome. How it works: the script generates …

Web Development html-css php session
Member Avatar for somedude3488
0
224
Member Avatar for inartistic

Hi, I have a site which lists the basic information of CDs and allows the user to click a link to see detailed information regarding each CD. I've been doing that for a long time by just putting the detailed information in a DIV and using a script to toggle …

Web Development javascript
Member Avatar for essential
0
123
Member Avatar for gagan22

Hi everyone, I am working on one application in which i am using many checkboxes for many records like we use in our mail . Like in our inbox mail folder if we want to delete more than one mail , after checking that mail in checkbox , we click …

Web Development php
Member Avatar for rm_daniweb
0
312
Member Avatar for nathenastle

Please help me in newsletter sending , this my code the problem is the mail is send to single person is going correctly ,if the same mail send to more number of persons getting wrong mail is going but the data display only in first mail ,the other mails getting …

Web Development php
Member Avatar for rm_daniweb
0
107

The End.