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 Quote Link to comment 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. Quote Link to comment 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] Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.