is there a way to upload a file using the $_GET function, so i can just go to
"http://blabla.com?file=C:\file.txt" or whatever and it will upload the file to my server.
Printable View
is there a way to upload a file using the $_GET function, so i can just go to
"http://blabla.com?file=C:\file.txt" or whatever and it will upload the file to my server.
No. If that were possible, anyone could post a link to download any file on your PC. Even when using POST requests, the only infomration given to the server about the file which was upploaded is its name and the data inside it.
Because i need my program every 30 seconds to upload a file to my server.
Then do it from your computer then. Use the FTP protocoll or someting from your computer to upload it, not the other way around..
you'll see in my sig an application which allows you to upload files via HTTP. You could modify that. however, there is no way of doing it from a web browser.Quote:
Originally Posted by SlicedCheese