I made this script. It is supposed to copy the image, and save it on my server. For the most part, it does do what's its supposed to do.
This would load the picture, and save it on my server. The only problem is that it only saved half it on my server. I'm assuming it ran out of memory to place the colors in and just made the rest of the pixels white. How can I bypass this?
This is what the script gives me:
Thanks.
Code:
<?
$image = imagecreatefromjpeg("[URL unfurl="true"]http://www.rareteens.com/teen/met50/2.jpg");[/URL]
imagejpeg($image, "pic.jpg");
?>
This is what the script gives me:
Thanks.