Re: [PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Marek Kilimajer
Do you mean you cannot access the filesystem on your own server? You can find out if /something is a directory by connecting to the web server and request the file/directory without a trailing slash. If it is a directory server will respond with "301 Moved Permanently" response. $is_dir=false;

Re: [PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Joe
HTTP my department disable the function of listing file "Marek Kilimajer" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] What is remote in your circumstances? FTP, HTTP, ... ? Joe wrote: > any alternative method is also welcome > > "Joe" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D > :[EMAIL PROTECTED] > >>

[PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Joe
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" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > hi joe, > you want a server-script, that lists a dir on a client? > i think

Re: [PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Marek Kilimajer
What is remote in your circumstances? FTP, HTTP, ... ? Joe wrote: any alternative method is also welcome "Joe" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] 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

[PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread sven
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" <[EMAIL PROTECTE

[PHP] Re: Please help!!! thx a lot~~~

2003-07-24 Thread Joe
any alternative method is also welcome "Joe" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > 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~~~ > > > -- PHP General Mai