[PHP] exist?

2001-03-14 Thread Kenneth R Zink II
How would I go about checking to see if a file exist from php? I didn't find anything on php.net when I did a search for exist. basically, I'm trying to accomplish this. if $file exist { do something; }else{ echo "$file doesn't exist"; } thanks in advance. Kenneth R Zink II [EMAIL

Re: [PHP] exist?

2001-03-14 Thread Simon Garner
From: "Kenneth R Zink II" [EMAIL PROTECTED] How would I go about checking to see if a file exist from php? I didn't find anything on php.net when I did a search for exist. if (file_exists("/full/path/to/file.txt")) http://php.net/manual/en/function.file-exists.php -- PHP General

Re: [PHP] exist?

2001-03-14 Thread Keith Vance
You must not have searched to hard on the site, http://www.php.net/file_exists Keith On Wed, 14 Mar 2001, Kenneth R Zink II wrote: How would I go about checking to see if a file exist from php? I didn't find anything on php.net when I did a search for exist. basically, I'm trying to