@Author: Hannan_Mondul
php( image)

if($im = imagecreate(200,200)){
$ba = imagecolorallocate($im,255,0,0);
header("Content-Type: image/jpeg");
throw new exception ("Sorry the GD Libary not set up");
}catch(exception $e){
    echo $e->getMessage();

Recommended Answers

All 4 Replies

whats your question

it work properly

Code snippet without an explanation.... try harder.

Member Avatar for diafol

This guy's just posting snippets. Are we going to see a sig shortly ?

it work properly

Anyway, how does this work - braces are unbalanced - missing a 'try' block somewhere? Stupidity or ego? Anyway, I like prit's comment...

try harder.

heh heh.

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.