Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file_get_content('http://example.com/image.jpg')
- <?php
- $link = "http://www.site.com/images/15.jpg";
- $file = file_get_contents($link);
- file_put_contents(time().".jpg", $file);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement