Re: Please help!!! thx a lot~~~

From: Date: Thu, 24 Jul 2003 10:47:07 +0000
Subject: Re: Please help!!! thx a lot~~~
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-156622@lists.php.net to get a copy of this message
I see the point but I just want to list the subfolder under my directory. Could you please tell me how to distinguish a directory from a file in Unix thx a lot "Sven" <svenie@gmx.li> ¼¶¼g©ó¶l¥ó·s»D :20030724091907.33967.qmail@pb1.pair.com... > hi joe, > you want a server-script, that lists a dir on a client? > i think that's impossible. think of if you visit a website written in php > and in background your hdd is scanned? that's simply a security reason. > ciao SVEN > > Joe wrote: > > any alternative method is also welcome > > > > "Joe" <arjoe@cuhk.edu.hk> ¼¶¼g©ó¶l¥ó·s»D > >> 20030724085145.4069.qmail@pb1.pair.com... > >> I have written a php to show file in directories. > >> The problem is due to is_dir() can't opearate on remote files. What > >> should I do in order to fix it. > >> thx a lot~~~ > >

« previous php.general (#156622) next »