birbal Posted January 2, 2011 Share Posted January 2, 2011 i want to know how url upload works...somtthing like enter your url and the selected file will be downloaded to your remote server.thank you! Link to comment Share on other sites More sharing options...
boen_robot Posted January 2, 2011 Share Posted January 2, 2011 What the... where have you saw this?I guess if you've previously given your remote server details to a site, the say may use them to send you a file... which in the scenario you're describing happens when you go to a certain URL on the site.Or am I misunderstanding? Link to comment Share on other sites More sharing options...
birbal Posted January 2, 2011 Author Share Posted January 2, 2011 my bad..i should be more brief..i think.i saw it in a wapsite builder..i mean...there was a field where you put a url ..say http://othersite.com/download/song.mp3and when you click the upload button it upload the file from othersite.com to your prdifend directory. where othersite.com is different site from yours. Link to comment Share on other sites More sharing options...
justsomeguy Posted January 3, 2011 Share Posted January 3, 2011 You can use file_get_contents or fopen to get the data and save it on the local server. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.