Please someone provide me a *single page* php script. Which works like this:
1)I open INDEX.PHP file in browser.
2)there is only an upload button and nothing else. I click the upload button.
3)The file "example.net/subzero-is.rude" gets uploaded to the same directory as index.php(in my server).
3)SHOW where the file was uploaded 4)Nothing else
So its like copying file from another server to my server.
THERE SHOULD NOT BE ANYTHING BUT AN SUBMIT BUTTON IN THE PAGE.NO PLACE FOR A URL. I will define the url inside THE PAGE.
1)I open INDEX.PHP file in browser.
2)there is only an upload button and nothing else. I click the upload button.
3)The file "example.net/subzero-is.rude" gets uploaded to the same directory as index.php(in my server).
3)SHOW where the file was uploaded 4)Nothing else
So its like copying file from another server to my server.
THERE SHOULD NOT BE ANYTHING BUT AN SUBMIT BUTTON IN THE PAGE.NO PLACE FOR A URL. I will define the url inside THE PAGE.
Comment