;Roger Lewis" <[EMAIL PROTECTED]>; "Php-General"
<[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 3:41 AM
Subject: RE: [PHP] Problem with is_dir function
>
> On Saturday, November 02, 2002 11:07 AM, I wrote
>
> * > I'm having a problem with the i
On Saturday, November 02, 2002 11:07 AM, I wrote
* > I'm having a problem with the is_dir function, or maybe I don't
understand
> how it supposed to work. I'm using the following code to check whether or
> not a directory called $user_dir exists. If it exists, I am returned the
> proper message
ic?
Roger
-Original Message-
From: Andrew Brampton [mailto:andrew@;bramp.freeserve.co.uk]
Sent: Saturday, November 02, 2002 11:24 AM
To: Roger Lewis; [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with is_dir function
what values of $user_dir are you passing to is_dir?
echo them out before the
what values of $user_dir are you passing to is_dir?
echo them out before the test, you might be sending paths which are most
certainly not directories... for example:
c:\windows
/home/blah
would be valid, but
c:\windows\win.com
/home/blah/myfile
http://somesite/somepath
ftp://someftpserver/incomin
4 matches
Mail list logo