Forum Moderators: coopster
The scripts generate graphs of access stats using PHP4 and the GD extension but unfortunately no graphs appear.
The script creators say it must be because the GD extension is not installed and my ISP claim it is!!
However, if you go to [asktodrive.co.uk...] there is no mention of the extension which makes me think it isn't installed at all.
Does anyone have any ideas about how I might try and test this myself?
I've installed another script that relies on GD and that doesn't work either!!
Cheers.
I can't test this (I don't have GD installed either) but the following is about as simple a use of GD I can find - if it doesn't work it's almost certain it's not installed:
<?
header("content-type: image/gif");
$image=ImageCreateFromGIF("images/image.gif");
ImageGif($image);
ImageDestroy($image);
?>
For really good help on getting started with image creation using GD go to [devshed.com...]
They talk you through writing basic scripts to make use of the GIF, JPEG and PNG formats.
Guess what - none of them work on my server. I look forward to hearing from my ISP.
They say they are looking into it. An earlier response I got was:
"It looks as if GD was not specifically compiled with PHP4 - but is a standard option on version 4 and GD is installed on the server.
You may perhaps need to interface with GD in a specific way."
Which I'm afraid means absolutely nothing to me. How else can you "interface" with the GD extension? There must be some GD experts out there - can anyone help?
<?
phpinfo();
?>