When I give some tries i got the errors like this:
1. $dir = "ftp://mysite.com/images/";
Code:
Warning: opendir(http://mysite.com/images/) [function.opendir]: failed to open dir: not implemented in C:\xampp\htdocs\test\ftp.php on line 3
2. $dir = "http:://mysite.com/images/";
Code:
Warning: opendir(ftp://devraju.com/images/) [function.opendir]: failed to open dir: FTP server reports 2‘| in C:\xampp\htdocs\test\ftp.php on line 3
And somewhere in the internet i had found this line before
Code:
..... and as you seem to be aware, opendir() works on DIRECTORIES, not URLs. And opendir() only works in local directories of code running system not remove.
Bookmarks