Open files through remote server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
revbackup
Forum Commoner
Posts: 29
Joined: Tue Jun 09, 2009 1:52 am

Open files through remote server

Post by revbackup »

Hi guys,

I want to display the contents of a particular hard drive (drive C or drive D)...
My problem is, my program is running on FREEBSD server... and when I do, opendir()
obviously, it will open the directory of my FREEBSD server... Is there a code in PHP that
opens a remote directory? My program is like an FTP program... In the left side, I will
display all the local files, and in the right side, i will display all the uploaded files in ftp...

In my left side, I cant open and display all the local files... that's really my problem...
please help me... thanks
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Open files through remote server

Post by requinix »

If it's like an FTP program then consider the FTP functions. Otherwise it'll probably be SSH access.
Post Reply