I want to have a page where the user makes a request using a known format through CURLing a URL, and the file they provide is then uploaded to the server.
The URL would be like this: http://localhost/fileupload.php?FilePath=c:\testfile.txt
However, all the guides online work off of form submission or JQuery AJAX requests - can this be achieved with pure PHP?