Okay so scenario I'm on holiday and I want to access my files on my home computers c drive.

The scenario I've been given is that I log onto a web page and that will take me to my filestore.

So is the PHP script embedded at home or on the remote computer I'm using? How does communication work between home and holiday comp?

Sorry if this is silly I'm very new to this and seem to be going around in circles. All help is greatly appreciated.

    there PHP server needs to be on the computer with the files. It seems like a rather complicated solution to just access files. PHP can only see the files on the hard disk it is on ( i believe)

    Could you not install a FTP server and have an FTP client with you remotely? or do you need to have access via a browser?

      Sorry I forgot to mention its an assignment I'm doing for university. It has to be done in this particular way. I'm just trying to fully understand the idea.

      Okay so the php script can display the files on the computer it is on. Therefore there needs to be transfer of info between the server and the client to allow it to display it in the html page. Any ideas on how that works?

      Thx for the reply btw!

        HTTP tends to handel all that... I've got to ask, do you know what PHP is? lol

          Well to be perfectly honest my understanding of it is pretty poor. I'm trying to self educate myself so I've messed around with a few scripts but yeah I'm not doing too great on getting an understanding of it.

          Ok so I've designed a script to output a list of the files in the local directory of my server computer.

          If I want to obtain the output of this script on a remote computer how do I go about doing that?

          I really am a complete newbie and probably not a great learner so appreciate you taking the time.

            If I want to obtain the output of this script on a remote computer how do I go about doing that?

            Providing your isp allows it and your router / connection is setup properly you need to access your webserver (the computer with the fiiles on it) via your ip, or setup a dynamic dns (dyndns.org).

            Then you would simply browse to your site as you would any other site. eg; http://yourip/yourapp

              Write a Reply...