Re: [PHP] Problems with is_dir()

2004-07-29 Thread Jay
Ni Shurong wrote: you must do it like this: "; } } closedir($handle); clearstatcache(); } ?> Ni Shurong <[EMAIL PROTECTED]> MAIL : [EMAIL PROTECTED] QQ : 412844 MSN : [EMAIL PROTECTED] BLOG : http://blog.njmars.com/myhan/ You again! Thanx : )

Re: [PHP] Problems with is_dir()

2004-07-29 Thread Ni Shurong
you must do it like this: "; } } closedir($handle); clearstatcache(); } ?> Ni Shurong <[EMAIL PROTECTED]> MAIL : [EMAIL PROTECTED] QQ : 412844 MSN : [EMAIL PROTECTED] BLOG : http://blog.njmars.com/myhan/ -- PHP General Mailing List (http

[PHP] Problems with is_dir()

2004-07-29 Thread Jay
Hi! I am trying to list all files and dirs in a directory. But i encountered some problems with is_dir() function. is_dir tells med that it all is files when i know for a fact that there is one dir in the directory ("dir1"). Can someone tell me why this don“t work?: "; }