As a first-timer on this newsgroup I beg for understanding for any stupidity I may write. :)
Hi,
State of affairs: A LAN with a computer that is not directly accessible from the internet. The LAN is connected through a gateway to the Internet - and the LAN has only one IP, so only the gateway is really accessible directly, from the outside. The owner of the LAN computer (Windows XP) can map a drive to a designated directory on the gateway computer, and use it as if it were a local drive (when it comes to file manipulation).
The server is PHP capable and the phpinfo() can be seen here: http://www.stuwo.at/~adilovici/index2.php .
What I want: The "designated" directory is indeed the one ~adilovici, and the webspace is 80MB. The problem is that - when I am away for a long time, I might need access to certain files on my LAN computer, and I am not able to that in a simple way (or am I?!?) Any method for doing that would suffice - and I was thinking of doing a PHP interface on my website that would somehow tunnel me the files on my own computer (in this scenario I am coming from the internet, to the LAN gateway which is to forward me/be a tunnel to my LAN computer somehow). The server is a linux machine - what phpinfo() says is all I have - I don't have shell access to the server. Perhaps perl and cgi are a possibility, but I don't know cgi or perl (which is not a problem if anyone suggests I should be able to solve the problem with them, assuming the server will allow me to use them, but PHP is at stake in this post)... It is not a problem to set up a Linux computer instead of Windows XP, but if the same thing is possible with XP, then XP preferred.
I hope I was clear enough about what the problem is. Perhaps a completely PHP-irrelevant solutions exist, such ideas are also welcome.
-- Irfy
If you could get it set up, you could have the linux computer port forward the remote desktop port to your XP box, then you can go directly to it with a remote desktop client.
If that's not possible, you could possible have your drive on the Windows bow smbmounted on the linux box. But if you don't own the linux box, that's probably a large security risk.
I recently found this app on phpclasses:
http://www.phpclasses.org/browse/package/1498.html
which allows you to access a samba share from php. It sounds like exactly what you want.
-- paperCrane <Justin Patrin>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php