MikeDXUNL Posted June 7, 2008 Share Posted June 7, 2008 I have searched for the past 2 hours, literally for URL photo uploading. and have found... nothing! I have found only Local browsing uploading. PHP.net didn't help, they only talked about what damage not setting ext limits could do. and I searched this forum for 'url upload' and 'upload file url', but to no luck pixel2life was searched, along with hotscripts, which I only looked at about 6 because I got really tired of looking. If possible, could anyone steer me in the direction of a URL upload script tutorial?? Thanks, Mike Link to comment https://forums.phpfreaks.com/topic/109103-url-uploading/ Share on other sites More sharing options...
MiCR0 Posted June 7, 2008 Share Posted June 7, 2008 http://www.fornewbie.com/mysql/upload_image_file_mysql_database_php_tutorial.html http://www.tizag.com/phpT/fileupload.php http://www.phpeasystep.com/workshopview.php?id=2 tons more @ http://www.google.co.uk/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=image+uploading+php+tutorial&spell=1 if u mean just them give a URL and it loads the image then its just take a form and then POST back the info and u have the url do what u like with it. Link to comment https://forums.phpfreaks.com/topic/109103-url-uploading/#findComment-559690 Share on other sites More sharing options...
MikeDXUNL Posted June 7, 2008 Author Share Posted June 7, 2008 Not what I needed, I know how to do file uploading. What I need it something like _______________________________ URL:|http://someurl.com/images/frog.jpg | |______________________________| [sUBMIT] when i click Submit, that will grab the image from that url, then upload it to my site under say images/pics/ [much how http://imageshack.us has their URL upload] Link to comment https://forums.phpfreaks.com/topic/109103-url-uploading/#findComment-559792 Share on other sites More sharing options...
DarkWater Posted June 7, 2008 Share Posted June 7, 2008 file_get_contents() should do the trick. BUT. You must verify extensions AND be sure to rename the physical file, but send the original file name in the Content headers of your image downloading/viewing section. Link to comment https://forums.phpfreaks.com/topic/109103-url-uploading/#findComment-559797 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.