Re: [PHP] Strange is_dir() behavior

2005-07-01 Thread Marcos Mendonça
Well, i´ll check it out, but i think i don´t have that code anymore. Since it wasn´t working i did the same using opendir instead of dir. Thanx anyway. On 6/30/05, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, June 25, 2005 8:54 am, Marcos Mendonça said: Yes, if i try to to echo the variable

Re: [PHP] Strange is_dir() behavior

2005-06-30 Thread Richard Lynch
On Sat, June 25, 2005 8:54 am, Marcos Mendonça said: Yes, if i try to to echo the variable $entry outside the if is returns the expected directories list. I tried giving it the full path and it still doesn't work. Show us that source code. Cuz I wouldn't expect it to work without the full

[PHP] Strange is_dir() behavior

2005-06-25 Thread Marcos Mendonça
Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ folder1 folder2 folder3 ... and so on I'm trying the following code to make a list of folder under photos:

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Burhan Khalid
Marcos Mendonça wrote: Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ folder1 folder2 folder3 ... and so on I'm trying the following code to make a list of folder under

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Edward Vermillion
On Jun 25, 2005, at 8:34 AM, Marcos Mendonça wrote: Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ folder1 folder2 folder3 ... and so on I'm trying the following code to make a list of folder

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Marcos Mendonça
Yes, if i try to to echo the variable $entry outside the if is returns the expected directories list. I tried giving it the full path and it still doesn't work. On 6/25/05, Edward Vermillion [EMAIL PROTECTED] wrote: On Jun 25, 2005, at 8:34 AM, Marcos Mendonça wrote: Hello I'm using

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Marek Kilimajer
Marcos Mendonça wrote: Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ folder1 folder2 folder3 ... and so on I'm trying the following code to make a list of folder under