[PHP] Checking file_exists()

2004-09-15 Thread PHP Junkie
Ave, I have a simple file upload form, which uploads without a problem. Today I added the file_exists() function to my PHP code. And everything stopped working. What am I doing wrong here: ?php if($upload_file) { $db = mysql_connect(localhost,usr,pwd); mysql_select_db(imsafm,$db); $date =

Re: [PHP] Checking file_exists()

2004-09-15 Thread John Holmes
From: PHP Junkie [EMAIL PROTECTED] $trauma = 'imsafm/$PHP_login/$img1_name'; http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.single ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking file_exists()

2004-09-15 Thread Greg Donald
On Wed, 15 Sep 2004 15:05:02 -0400, PHP Junkie [EMAIL PROTECTED] wrote: I have a simple file upload form, which uploads without a problem. Today I added the file_exists() function to my PHP code. And everything stopped working. What am I doing wrong here: ?php if($upload_file) { $db =

Re: [PHP] Checking file_exists()

2004-09-15 Thread PHP Junkie
Ave, I can swear it wasn't working with the Double Quotes either because I tried it first. But well, now it is so no point in anything. Thanks a lot. On 9/15/04 3:19 PM, John Holmes [EMAIL PROTECTED] wrote: From: PHP Junkie [EMAIL PROTECTED] $trauma = 'imsafm/$PHP_login/$img1_name';