As of PHP 4.3.0 path can also be any URL which supports directory listing, however only the file:// url wrapper supports this in PHP 4.3. As of PHP 5.0.0, support for the [url]ftp://[/url] url wrapper is included as well.
Now this does not work like I imagined, at least not in test cases:
$dh = opendir("http://www.myhost.com/mypath/");
Where mypath is indeed a directory browsable from the web.
So, is this one of them useless 'featues' that only works on the third tuesday of the month when the moon is 1/2 and green and your server is tilted 25% to the right?
In other words, I can't get it functioning, anyone done this?