Dear All,
The following code exhibits online image generation(online polling results) .
the output of this programme is show.jpg(see the attatchment)
viewpolls.php
<?php
header ("Content-type: image/png");
$im = @ImageCreate (310, 170)
or die ("Cannot Initialize new GD image stream");
$background_color = ImageColorAllocate ($im, 241, 241, 241);
imagerectangle ($im, 0,0, 309, 169, $kk1);
$kk = ImageColorAllocate ($im, 153, 0, 0);
$text_color1 = ImageColorAllocate ($im, 153, 0, 0);
$text_color2 = ImageColorAllocate ($im, 7, 0, 14);
ImageString ($im, 51, 45, 5, "OnLine Polling Results", $text_color1);
ImageString ($im, 51, 5, 40, "PHP", $text_color1);
imagefilledrectangle ($im, 42,40, 240, 55, $kk);
ImageString ($im, 10,245, 40, "99.99%", $text_color2);
ImageString ($im, 51, 5, 70, "JSP", $text_color1);
imagefilledrectangle ($im, 42,70, 140, 85, $kk);
ImageString ($im, 10,145, 70, "45%", $text_color2);
ImagePng ($im);
?>
my query is how can i show 'sureshbabu polls' as title in
the title bar of this page viewpolls.php is displaying
if i am embeding <title>sureshbabu polls</title> any where of this programming this is not working
anyone send me the solution
is it possible to mention the page of the title in header tag
regards
bvsureshbabu