Is it possible to list files in a directory from URLS ?
e.g to list the files that exist in:
www.url/files/
Any guides or commands?
Thanks Alex
Use [man]fopen/man to read the index page for the directory and then use regular expressions to find the data you want.
Thank you. Is it the only way I can do it?
Not so easy when regular expressions come to mind!!!
Also directory includes "index.php".....
Any more ideas somebody???
Thanks
?
Do you realize the security implications of what your asking? If anybody was able to just scan directories through a URL, no webserver would be safe. So, no, there's really no way to do this through a regular http protocol. Now PHP 5 is adding support to use opendir through an ftp wrapper, but that's about as close as you can get.