Jump to content

Open directory on another server


Full-Demon

Recommended Posts

Hi,

 

How can I open a dir (get all containing dirs and files) when that dir is on another domain/server? It keeps saying:

 

Warning: dir(http://www.[my domain name]/[the directory]) [function.dir]: failed to open dir: not implemented in I:\wamp\www\Gallery\include\functions.php on line 218

 

I run it now from my localhost, but it neither works on a real server, only relative paths work. How to fix this?

 

I use this function: http://www.php.net/manual/en/class.dir.php  as scandir doesnt work op php4.

 

Thanks.

 

FD

Link to comment
https://forums.phpfreaks.com/topic/57704-open-directory-on-another-server/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.