I am having some problems with opening a remote directory. I am trying to access a directory on another website of mine but get this error: Warning: opendir(http://www.mysite.com): failed to open dir: not implemented in /thepathtomyfile on line 8 PHP: Some say I need access to php.ini on the server. Can I do something about this error or get a list of files another way?
Does the web address you're specifying allow for directory listing? According to the documentation, you need to have a directory listing. You may want to look at url_fopen() as well. hanji
It depends if you have the ability to make adjustments to the apache configuration. You can try with .htaccess file in that directory I think this configuration option do it, assuming that you don't have a default document in the directory: Options Indexes Code (markup): HTH hanji
are they hosted on the same server? if so you really shouldn't be doing it this way. if they're not on the same server or in the same datacenter, you could always mount the volume using NFS and access it that way. you'd likely need root access to do this though, not sure if you have it or not.