PDA

View Full Version : File Directory on another server



icio
February 20th, 2005, 08:32 AM
is it possible to get the file listing in a directory on another server if you have all of the login information ?

would the server that you are reading the files from require php ?

the reason i'm asking is i have one server that i pay about £4/mo for, just so that i can use php in it - but i'm wondering if it's possible just to get rid of php on that server (meaning in pay nothing for it) and just use the server space and php on another server.

thanks in advance

λ
February 20th, 2005, 09:13 AM
Yes, it is. You'd need an FTP server and a PHP-enabled server with the FTP functions (http://www.php.net/manual/en/ref.ftp.php) working.

icio
February 20th, 2005, 10:02 AM
excellent :thumb: thanks λ