Is it possible to parse the directory listing of a webpage which is external given the webpage is accessible and it shows a list of the files when I access it. I only want to know is it possible to parse the files dynamically in PHP and how? -thank you
Sorry for being not clear. I mean a directory listing such as:
http://www.ibiblio.org/pub/ (Index of /..) and ability to read the content as array or something easy to manipulate in my script
You can use
preg_matchorDomDocumentFor your case:
If you want to take a look at a working demo.