> I need help
> I want to to get file list o n remote http server for
> example: http://heban.unx.eragsm.pl:6666/baobab/static/tmp/
> If I open this adress in browser i got list of files in this
> folder i want to get the list and download this files by
> application wrote in PHP is it possible
> Veeeery thanks for help
The webserver run on that server is the one responsible for listing
the content, it's not part of the HTTP protocol. Apache would do this
on a default installation for example. You can simply
$fp = fopen("http://heban.unx.eragsm.pl:6666/baobab/static/tmp/","r");
$data="";
for(!feof($fp)) {
$data.=fgets($fp);
}
fclose($fp);
and $data would contain the html code, then up to you to parse out the
information
Good luck!
/Martin
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]