Re: [PHP] Help with header function

2002-06-11 Thread Shane Kelly
LOL...thanks ed...figured it out last night... don't need to do a file_exists since i capture file_name in my db...I do a query before the insert to see if the file_name entered in the form, matches any of the file_names stored in mySQL. if the count of the record set 0 then the file exists,

[PHP] Re: mysql problems, need help quick

2002-06-11 Thread Shane Kelly
not on auto increment...thats the point! why would you need to get the #6 back anyway... this is the fundementals of database theory... chances are the database is using this autoincrement field as the PRIMARY KEY...in which case no duplicates are allowed.. In terms of records...your id#7 has

[PHP] Re: Newbie needs some help picking a php editor.

2002-06-11 Thread Shane Kelly
Hi Al... I use Macromedia Dreamweaver UltraDev with PHAkt plugin (you'll have to add it from the dreamweaver ultradev extensions @ www.macromedia.com/exchange Macromedia UltraDev is available for 30 day free trial at their site it has brilliant php support..you barely have to know a stitch

[PHP] Re: multi-line textfields don't post

2002-06-10 Thread Shane Kelly
Do you mean the data doesn't transfer over to your database? Phil Schwarzmann [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Whenever I use a mult-line textfield, the data inside doesn't transfer over. But single-line textfields work just fine. how do i fix

[PHP] Help with header function

2002-06-10 Thread Shane Kelly
I'm creating an upload form for users to upload files to my server. but I don't want them to overwrite existing files if they try to upload using the same file name... THE FOLLOWING SCRIPT WORKS PERFECTLY if (file_exists(uploads/documents/.$file_name)==TRUE) { die (File already exists);

Re: [PHP] Help with header function

2002-06-10 Thread Shane Kelly
I don't get an error message...but the page doesn't automatically forward to the redirected url. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php