@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

whats your question

Jump to Post

All 4 Replies

whats your question

it work properly

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

Member Avatar

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.