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;
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]
>
>>
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
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
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
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
6 matches
Mail list logo