<?php
/*
@Author: Hannan_Mondul
php( image)
2014
*/
if($im = imagecreate(200,200)){
$ba = imagecolorallocate($im,255,0,0);
imagerectangle($im,0,0,200,200,$ba);
imagejpeg($im);
header("Content-Type: image/jpeg");
imagedestroy($im);
}else{
throw new exception ("Sorry the GD Libary not set up");
}
}catch(exception $e){
echo $e->getMessage();
}
?>
Hannan_2 0 Newbie Poster
jstfsklh211 79 Light Poster
Hannan_2 0 Newbie Poster
pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster
diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.