Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PHP upload file to remote host
Name: firstofthephp Date: June 16, 2006 at 06:58:29 Pacific OS: Ubuntu 6.06 + Apache 2 an CPU/Ram: 1.4ghz AMD Athlon, 384mb Product: -
Comment:
Hello, does anybody know how I can upload a file from my Apache server to the remote host via PHP? I also have FTP, if that makes any difference. What I want is for when someone goes to my computer (say, http://192.168.1.123/upload.php) it will put a file on the desktop of the computer that accessed it (the computers that are accessing this are running Windows XP)
The reason I ask is because I'm setting up a small network and all of the computers running Windows that have Deepfreeze on them, so files can not be saved. This file isn't always needed, so this is the solution I had in mind.
Name: Laler Date: June 16, 2006 at 08:22:02 Pacific
Reply:
No you can't put files (except cookies) into the visitor's PC without their permission. I think the best you can do is to provide download links, automatic if you prefer.
Name: Laler Date: June 16, 2006 at 08:30:42 Pacific
Reply:
PHP & FTP
If every PC has FTP server enabled (it's in IIS), and you (the webserver) has access & the required username, the FTP server can be set to include the user's desktop in it. So you can upload files by using PHP's FTP functions in anytime you like without buggering the user.
Summary: Hi Actually script should upload files to my webserver from remote server. the script you liked is to hide original location of file very similar to get.php. ...
Summary: I am running an apache http server. I can view and download my files just great. But is there a free program that will let me upload files to my server remotly? From a computer outside my local netwo...
Summary: Hello all. I'm fairly new to this whole area of webbuilding and development. Recently I created my site using a combination of html from internet and a web software kit called diywebkit.com. I have b...