Hello,
I guess I'm a noob because I don't understand what it means by:
"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"
I have a website with the permissions setup to allow directory listing, and I'm running a script on another server but I cannot open the remote directory using:
$dir='http://www.mywebpage/new/';
if($dirname = opendir("$dir"))
{
echo "Directory was opened!";
}
else
echo "Can't open $dir";
Any advice? I just want READ only to these files.
Thanks!