[PHP] Remote Directory listing

2001-01-27 Thread Kif
hi, if i want to index the filenames in a local directory its quite easy using something like the following: $startdir = "." ; $the_directory = opendir($startdir) ; while($filename = readdir($the_directory)) { print("$filename = "); print(filesize($filename)); print(""); } close

Re: [PHP] Remote Directory listing

2001-01-27 Thread Markus Fischer
On Sat, Jan 27, 2001 at 04:03:34PM -, Kif wrote : > I have tried $startdir = http://siteiwant.com/; with no joy > :( There is no real, standard think like an index. What you see with webservers is just a component of the webserver which makes it easier for you to access sub-dirs and