Re: [PHP] Problem with is_dir function

2002-11-05 Thread rija
;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

RE: [PHP] Problem with is_dir function

2002-11-05 Thread Roger Lewis
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

RE: [PHP] Problem with is_dir function

2002-11-02 Thread Roger Lewis
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

Re: [PHP] Problem with is_dir function

2002-11-02 Thread Andrew Brampton
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