RE: [PHP] Re: How to tell if the filepath exist or not before attempting to create a directory??

2004-12-02 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 02 December 2004 18:51, Richard Lynch wrote: > Marek Kilimajer wrote: > > > > What version? On 5.0.2 file_exists('nonexistingfile'); does not > > generate any error message. >

Re: [PHP] Re: How to tell if the filepath exist or not before attempting to create a directory??

2004-12-02 Thread Richard Lynch
Marek Kilimajer wrote: > Richard Lynch wrote: >> Scott Fletcher wrote: >> >>>Never mind that.. I found a different way to use it. It would be so >>> cool >>>if there is such a feature as directory_exists() to check for partical >>>filepath... >> >> >> http://php.net/file_exists >> >> You'll need

Re: [PHP] Re: How to tell if the filepath exist or not before attempting to create a directory??

2004-12-02 Thread Marek Kilimajer
Richard Lynch wrote: Scott Fletcher wrote: Never mind that.. I found a different way to use it. It would be so cool if there is such a feature as directory_exists() to check for partical filepath... http://php.net/file_exists You'll need to use @ in front, because it generates an error message w

Re: [PHP] Re: How to tell if the filepath exist or not before attempting to create a directory??

2004-12-01 Thread John Nichel
Richard Lynch wrote: Be kinda like isset() issuing a NOTICE for a variable that's not set. Well, duh. That's why I asked. :-) isset() doesn't issue a notice...at least not in php 4.3.9. It just returns true or false. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP

Re: [PHP] Re: How to tell if the filepath exist or not before attempting to create a directory??

2004-12-01 Thread Richard Lynch
Scott Fletcher wrote: > Never mind that.. I found a different way to use it. It would be so cool > if there is such a feature as directory_exists() to check for partical > filepath... http://php.net/file_exists You'll need to use @ in front, because it generates an error message when it doesn't