Re: file_exists and array_merge_clobber

From: Date: Tue, 30 Sep 2003 19:03:51 +0000
Subject: Re: file_exists and array_merge_clobber
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-4624@lists.php.net to get a copy of this message
Aahh, I didn't see that in your original message :) "Lukas Smith" <smith@backendmedia.com> wrote in message news:000a01c3877f$955a5f30$4d00a8c0@vandal... > > From: Justin Hannus [mailto:jhannus@visualconceptsinc.com] > > Sent: Tuesday, September 30, 2003 8:12 PM > > > > I agree with Wez, what if you are searching for a file with a relative > > file > > path, e.g: > > > > <?php > > if (file_exists("somefile.php")) > > // ... > > > > would return true if "somefile.php" is not in the current directory > but is > > in your include path, not what you expected. Besides, you can easily > > implement this functionality in php. > > Uhm .. there is a parameter to control of you want to search your > include path which defaults to off. > > Finally as an alternative I said I would also be fine if I could pass > multiple path's to check to file_exits(). > > Regards, > Lukas

« previous php.internals (#4624) next »