M. Sokolewicz wrote:
John Nichel wrote:
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.
it did for a while in PHP 5.1, for a
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.
>
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
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
John Nichel wrote:
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.
it did for a while in PHP 5.1, for about a day, before it
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
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
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...
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm wondering how to tell if the filepath exist or not
8 matches
Mail list logo