17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ddellostritto

Hi all - Was wondering if anyone has come across a script that verifies if an email address exists or not? Beyond verifying that the data entered has an @ symbol, I'd like to make sure that I'm not getting bogus email addresses. Would be any way to do this …

Web Development email php
Member Avatar for mschroeder
0
137
Member Avatar for fuston05

Is there a more efficient way of doing this? I am simply catching and assigning vars to a lot of $POST vars. this seem monotonous to me..lol any advise is greatly appreciated. thanks :) sorry aboout the title..wasn't sure how to title this one. lol [CODE]if(isset($_POST["submit"]) ){ if(isset($_POST["est_num"]) ){$est_num= $_POST["est_num"];} …

Web Development php
Member Avatar for mschroeder
0
81
Member Avatar for jigneshdesai

Can please any one help in understanding the difference between .NET 1.1,2.0,3.0,3.5 and 4.0 ?

Web Development asp.net
Member Avatar for khadakbist
0
506
Member Avatar for mbarandao

Hello: I want to create a count down to a date with the following variables 1. number of days (90) 2. current date now using a specific past date stored in db, I want to create a countdown that basically tells me how many days until the 90 days are …

Web Development php
Member Avatar for mbarandao
0
162
Member Avatar for mingler

I have a problem with using globals within class scope. For example: [ICODE] $GLOBALS['test'] = "How are you?"; class great { [INDENT]function grace() { [INDENT] echo $test; echo $GLOBALS['test']; [/INDENT]} [/INDENT]} [/ICODE] Problem is, that neither of the echos produce any output. Is there a problem with accessing superglobals from …

Web Development oop php
Member Avatar for mingler
0
145
Member Avatar for itit

I am developing a code in Netbeans 6.7. In my code there is a jsp page that contains a form. This form sends the entered details to a servlet called Client.java. I am trying to run an RMI program in the servlet. I have created the classes Server.java and the …

Member Avatar for itit
0
326
Member Avatar for puvi

Hi frens I have a row containing 3 text field and a dropdown. the user enters details into the textbox and chooses a option from the dropdown. User may choose to save the details or add more details by clicking on Save or Add Row button resp. If the user …

Web Development javascript javascript-jquery
Member Avatar for six_sic6
0
5K
Member Avatar for cliffcc

I cannot delete the records after pressing the delete button. What is the fatal error? Thanks! admin.php [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot …

Web Development php
Member Avatar for cliffcc
0
83
Member Avatar for slrobinson1983

hello all. i've bee learning php for the last couple of weeks while designing a site but i am now frequently running into situations where i need to use javascript. i have a page where i want a user to browse for a pic with a file field and i …

Web Development file-system image javascript
Member Avatar for slrobinson1983
0
295
Member Avatar for ptara1

I have a script that calls up a picture stored in a database. I then have a script that displays said picture on another page. If there is no picture in the database I would like for their to be a no picture icon displayed. New to php but I …

Web Development image mysql php
Member Avatar for ptara1
0
2K
Member Avatar for RicardoE

Hi, Today I was reviewing traffic for one of my websites, I found out that someone linked a jpg image into a forum, and now its getting huge bandwith I mean a lost of hits even when the image was deleted, hits I could use, is there a way for …

Web Development http-protocol php seo
Member Avatar for RicardoE
0
152
Member Avatar for mikeflash

hey all, The server where I host my website went into unscheduled maintenance, a few minutes later I noticed that the IP of the server changed (they probably moved my website to another server since it's paid hosting although shared). So, my website was back online but some things weren't …

Web Development caching dns php
Member Avatar for joefarang
1
1K
Member Avatar for arelius

Hello All, On my local machine, my website works perfectly. All the functionality that I have made works great. I then copy my folders from my local machine to my test development web server. Once this occurs, certain functionality of my website no longer works, yet it is a direct …

Member Avatar for Fortinbra
0
112
Member Avatar for abhi10kumar

I have text area and combobox, Selected value of combobox is to inserted at the current cursos location in the text area. How it can be possible ??

Web Development php
Member Avatar for abhi10kumar
0
95
Member Avatar for muhamin

bellow is my entire file, the problem is when i insert multiple links, it only fatch 1 link from the textarea and then giving me the following error on the rest, FYI there is no problem with the reading part in the text area i can read line by line …

Web Development file-stream php
Member Avatar for paulrajj
0
223
Member Avatar for mbarandao

Hello: I have a mysql table which has following rows: id (unique and auto increment) platenumber customerid servicearea date I want to create a sql statement which essentially performs the following task: Pull from table_name the last inserted row where the customerid='mb6537'. There could be more than one row containing …

Web Development php
Member Avatar for phpology
0
83
Member Avatar for nyler01

Good Day, I am looking for threads here in daniweb which will contain my question but the return is not similar to my problem.. Please help me.. i don't know what to do with this. I just want to store date field in mysql database but i can't here is …

Web Development php
Member Avatar for nyler01
0
146
Member Avatar for shainjetly

Hi i wanted to loop the options list of the select tag inside that echo statement from my database. This file out puts the content to a javascript code. and this output is also javascript. any one help me how can i loop that options in select tag from the …

Web Development php
Member Avatar for shainjetly
0
1K
Member Avatar for Walahh

Hello everyone, I would really appreciate if anyone could please help me out here. I am trying to read the user's input in one page and then trying to display it in another page (want to let my users upload a file from their machine and save them in my …

Web Development file-system image php
Member Avatar for Javvy
0
152
Member Avatar for andrewliu

Hello. I have gone through various checks, and I can't seem to figure this one out... [CODE]while($row_sizes = mysql_fetch_array($sql_sizes)); { $sizes = $row_sizes['size']; $product_list .= count($sizes); $product_list .= "<li>".$sizes."</li>"; }[/CODE] Its not outputting any sizes. However, my count($sizes) outputs 0. And that shouldn't because I have [CODE] $sql_colors = mysql_query("SELECT …

Web Development mysql php
Member Avatar for andrewliu
0
113
Member Avatar for croker10

Hi All, Hopefully someone has had this problem in the past and can point me in the right direction. In the last couple days the ASP.NET development server has slowed down to nearly a halt when starting and stopping debugging, by that I mean anywhere from 5-7 minutes before the …

Member Avatar for croker10
0
201
Member Avatar for mbarandao

Hello: I have a select box which offers the user the option of selecting multiple selections. I'm a bit lost as to how --if multiple selections are made, to save these selections into mysql. here is the code of my select box: [code] <form name="theForm"> <select size=11 name=servicearea id=select multiple …

Web Development php
Member Avatar for mbarandao
0
637
Member Avatar for ddellostritto

Hi all - I've created a form to create events, but I can't figure out how to insert the date of the event properly into mysql (I'm not interested in inserting the time the register will be created, as that would be timestamp). I've got the column set as datetime …

Web Development php
Member Avatar for ddellostritto
0
165
Member Avatar for jwiere03

I am working on a little project here. I have two arrays (States, Cities) I am trying to allow the user to chose one from a select form (Choice) and then have the values of the chosen array displayed in a alert(). Obviously I could just write an if statement …

Web Development display javascript
Member Avatar for jwiere03
0
172
Member Avatar for taylby

Hi I am working on a Silver light web application that is using the Prism Model (So apologise if this is the wrong forum). Context I am involved with softening the URL's which call various applications through out the application. The list of URL's comes from an XML file which …

Web Development asp.net web-server xml
0
80
Member Avatar for EvolutionFallen

Hi, I'm having trouble submitting a form using a link. I have a table that lists a bunch of data, and I want to allow users to edit the data directly in the table. The user can click the "EDIT" link, which makes jQuery replace the appropriate <td> html with …

Web Development javascript javascript-jquery seo
Member Avatar for severman
0
721
Member Avatar for Netcode

I have two FileUpload Controls. I want one of them to accept only word and pdf file, the other is to accept only images(.jpg|.bmp|.gif|.png). I've actually tried coding an upload button and i tworked but i prefer a client-side validation so i've decided to use a RegularExpressionValidator. Pls I need …

Web Development asp.net pdf
Member Avatar for Netcode
0
82
Member Avatar for jigneshdesai
Member Avatar for khadakbist
0
147
Member Avatar for ddellostritto

Hi all - I need some help w/something that I'm not sure what the proper technique is. [B]How to deal with 'dynamic' forms?[/B] I'm working on an event registration form, where the person who registers normally registers their team members, so the number of team members could range from 1 …

Web Development php
Member Avatar for ddellostritto
0
707
Member Avatar for Netcode

i have a file upload control. Please how do i specify a file size and file tyoe to be uploaded. Its very urgent

Web Development asp.net file-system
Member Avatar for Netcode
0
103
Member Avatar for ptara1

I'm trying to display a picture stored in a msyql database. I have the following script, picscript.php, to call the picture from the database: [CODE] <?php $username = ''; $password = ''; $host = ''; $database = ''; mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); mysql_select_db($database) or …

Web Development display image mysql php
Member Avatar for ptara1
0
115
Member Avatar for dhairyaguptha

I have a form loaded with table values from database. The form is embedded in php page because it is coming as result of AJAX request. I want to update the data in the same form and return to the table in database. the process is working overall. But when …

Web Development javascript php
Member Avatar for dhairyaguptha
0
13K
Member Avatar for jrotunda85

I am creating a login script and I need to check that the username and e-mail don't current exist in the database otherwise it will print an error. I've tried the following but it's not working: [CODE=php]//Create Username Array $SQL = "SELECT Username from user" $Result = mysql_query($SQL); $Array = …

Web Development mysql php
Member Avatar for Javvy
0
270
Member Avatar for luweegee

This code is to update the record into the database. Assuming there's a record that you want to edit, when you submit the button the page looks nothing happened because you need to refresh the page before appear the output here's the code. Help me guys pls... sorry for my …

Web Development html-css php
Member Avatar for lyrico
0
192
Member Avatar for dhairyaguptha

[CODE]xmlhttp.open("GET","tablebase.php?q="+str,true);[/CODE] I can get value to the [COLOR="Green"]$q[/COLOR] variable in tablebase.php by above method. But how i can get a value to [COLOR="Green"]$q2[/COLOR] by using the above method. Thank you!

Web Development javascript
Member Avatar for dhairyaguptha
0
86
Member Avatar for ptara1

I'm a php noob and I have a feeling that there is a simple solution to my question. I have a php mysql table search that returns a result sucessfully. What I would like to be able to do is select one of the results to be inserted into a …

Web Development mysql php seo
Member Avatar for ptara1
0
180
Member Avatar for jrotunda85

I have set up a DB which uses a Code table to store numerical values that correspond to a "Description" of the cigar. For example, a Cigar made in the Dominican Republic would be stored in the DB as being made in "80004." I'm not completely immovable on the Code …

Web Development php
Member Avatar for smantscheff
0
2K
Member Avatar for MoreBloodWine

The below block of code generates stuff like the below array but here's where it gets somewhat interesting. I took the legend and turned them all in to variables because of what I would like to have done which I will now describe below. Of the four arrays that this …

Web Development client-server php ubuntu xml
Member Avatar for jimforsyth
0
131
Member Avatar for uopdom

Hi, I've been racking my brain for the last few days to figure out what is wrong with my PHP coding. I've managed to get the default value from my combo box into my database, but when I change the option it is breaking on me. I have reduced my …

Web Development mysql php
Member Avatar for uopdom
0
834
Member Avatar for alim18

Hello Guys, firstly i wanna say that this is really great forum. this my first on this forum and hoepfully will not be the last one. okey let me explain what is my problem; on that site [url]http://www.paid-surveys-at-home.com/[/url] i saw this form is created which calcuates "How Much..................." etc.. i …

Web Development php
Member Avatar for alim18
0
263
Member Avatar for dudzkie

Hello! I created a login form that is connected to the MySQL database, what i wanted to do now is to record who successfully login to the form and will also record the time and date he/she login Can you give me some hint on how to do it Thanks!

Web Development php
Member Avatar for dudzkie
0
98
Member Avatar for public-image

I am trying to detect if a users password is less than or equal to 5 characters then to error the user otherwise continue.. <? $pass = $_POST[password]; if($pass <=5){ echo"Error"; }else{ echo"YAY no errors!"; } ?> I can't get it to work can anyone point out a way to …

Web Development php
Member Avatar for public-image
0
99
Member Avatar for heshanm

Hi all, I am developing a MIS for a bank.There i want to create various types of accounts and i want something like this to be done. Ex: Account type Account Number A 1001, 1002, 1003, etc B 2001, 2002, 2003, etc C 3001, 3002, 3003, etc Likewise i want …

Web Development php
Member Avatar for public-image
0
270
Member Avatar for public-image

I am currently making a change password area and I wish for users to be able to change it although for passwords to be more secure we ask that passwords contain both letters and numbers and if users so choose they may have special characters as well.. I could not …

Web Development php
Member Avatar for MagicMedia
0
265
Member Avatar for joban.ali

Hi I have a while loop set up to call data from the database which is successfully doing. i would like my users to edit their own content on the database, a user can have many publications and so the user should be allowed to amend each publication. At the …

Web Development php
Member Avatar for sudeepjd
0
114
Member Avatar for Stefano Mtangoo

a apart fro SQL injection what are risks to comsider when querying database? What are risks when uploading files other than limiting some extensions (like exe's)?

Web Development php
Member Avatar for Stefano Mtangoo
0
117
Member Avatar for petrakid

I have two text boxes and I want them both to submit the same data, such as if the user changes one text box, the other changes to the same value [U]and vise versa[/U]. I am easily able to make one textbox update the second with javascript, but not the …

Web Development javascript
Member Avatar for petrakid
0
495
Member Avatar for OmniX

I am trying to see the restrictions of $_GET global variable and when I use the URL localhost/test/test.php?abc.def I am getting the variable abc_def in the global variable $_GET, any ideas? Any other restrictions?

Web Development php
Member Avatar for OmniX
0
164
Member Avatar for ricvik

Hello, As this forum has been so helpful before, this time it's a JS question: I have a list of checkboxes from which the user can select 1 or more to check and perform an action upon. Thus, all checkboxes have the same "name" (in ASP code, since it's DB-related): …

Web Development javascript
Member Avatar for ricvik
0
162
Member Avatar for tiggsy

I have a piece of code as follows: [CODE] $query = preg_replace('/\<a href=\"(.*)\"\>\<img height=\"(\d+)\" border=\"0\" width=\"(\d+)\" alt=\"(.*)\" src=\"(.*)\" \/\>\<\/a\>/',"INSERT INTO newproducts (productName,supplierName,productLink,imageLink,groupCode,currency,price,updated) VALUES ('$4','supplier','$1','$5',",$ad); $query .= "'$group','\$',$price,CURRENT_DATE)";[/CODE] which works fine. But I would like somehow to amend it so that the field productName ($4) can have slashes added to it …

Web Development php
Member Avatar for tiggsy
0
152

The End.