header("Content-type: image/jpeg");
$resim = imagecreate(250,250);
imagejpeg($resim);
imagedestroy($resim);
hello , I wrote the above code and I got an error like in the picture.
header("Content-type: image/jpeg");
$resim = imagecreate(250,250);
imagejpeg($resim);
imagedestroy($resim);
hello , I wrote the above code and I got an error like in the picture.
You need to install the GD Library
with your php install http://php.net/manual/en/image.installation.php
Enable error reporting:
ini_set('display_errors', '1');
error_reporting(E_ALL);
Enable this extension in php.ini and restart apache:
extension=php_gd2.dll