SleepieGirl
Regular Member
- Mar 7, 2009
- 439
- 294
i need a php script that just lets me put a url into it and retrieves the file...
http://www.mysite.com/mysite.php?http://www.imagesite.com/image.jpg
<?php
$image = $_REQUEST['image'] ;
$name = $_REQUEST['name'] ;
$content = file_get_contents("$image");
file_put_contents("./images/$name.jpg", $content);
?>
http://www.mysite.com/GetImage.php?name=ImageName&image=http://www.imagesite.com/image.jpg
the script you want is rapidleech. it can download files from any third party file hostings to your server and upload them. Its free but the site is down now so you can google to have latest plugin.
Posted via Mobile Device