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 accomplish this.
>
> if $file exist {
> do something;
> }else{
> echo "$file doesn't exist";
> }
>
> thanks in advance.
>
> Kenneth R Zink II [EMAIL PROTECTED] ICQ# 5095094
> '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!
>http://www.s-series.org/htm/windstorm/project-windstorm.htm
> '85 3.4L Carbed Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI DIS !!!
>http://www.s-series.org/htm/firestorm/firestorm.htm
> Racing by the Grace of God!!
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]