It appears you are trying to scan/list a remote site's directory; why? Most sites will not allow you to do this.
If it's your own site; just use the full path or symbolic one.
j wrote:
Hi I have a question about scandir
I have been trying to track down problems after upgrading from
5.1.6 to 5.2.1.
I have been getting errors with a section of code that does something
similar to the following
$fileList=scandir("ftp://user:pass@xxxxxxxxxxxxxxx/");
I get the following error.
Warning: scandir(ftp://...@xxxxxxxxxxxxxxx/): failed to open dir: not
implemented in /path/to/file.php on line 9
I checked phpinfo and ftp is included in the registered streams list.
allow_url_fopen is set to on.
Any suggestions why this code is not working?
Thanks
j.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php