How can I get this to provide an actual image?
file_put_contents($url,$image);
The size, and name are posted to directory correctly, but the image appears broken. Do I need to encode, or decode?
Just to inform you, $image comes from the following:
ob_start();
echo imagejpeg($image,null,30);
$image = ob_get_clean();
ob_end_clean();
$image = addslashes($image);
$image has successfully been posted to mysql as is, but I have been struggling to get it into directory.