opendir(http://etc.): failed to open dir: not implimented
Posted: Tue May 17, 2005 6:16 pm
I am having a problem with opendir and wonder if there is a way around this.
The error is:
Warning: opendir(http://loconation.users39.thehost.co.uk ... nbins/bin1): failed to open dir: not implemented in /home/x/y/locono/public_html/site/php_bin/get_folders.php on line 25
Line 25 is:
I think the reason is I am trying to access account1 from account2 on the same server using a php script and opendir() seems to through the "not implemented" error, I guess because the server does not permit this access, is there a way I can get around this? I need to count and check file types of files on the other server directory?
Thanks
The error is:
Warning: opendir(http://loconation.users39.thehost.co.uk ... nbins/bin1): failed to open dir: not implemented in /home/x/y/locono/public_html/site/php_bin/get_folders.php on line 25
Line 25 is:
Code: Select all
if( !$dirContents = opendir($paths['ftphost'] . $paths['binsfolder'] . "/$suiteBin")) {
$ua = "<FONT COLOR=RED><B>There was a problem opening the directory.<FONT></B>";
} else {
// Run code
}Thanks