Page 1 of 1

to GD or not to GD, that is my question

Posted: Fri Jan 23, 2004 5:49 am
by malcolmboston
last night i thought i would divulge into the wacky world of PHP imaging.

So after searching to see if i had it installed, (in the PHP.ini) i started work on it, however im not actually too sure if it is installed or not

GD is in my php.ini as GD.DLL so it is seemingly available to me however when i use load_resources() it isnt listed

also, when i use simple commands like imagecreate() it says the function is undefined, however i did use one GD function and it did create a picture, in a sense anyway, it created a picture block with an X in the middle

Is it installed do you think or not?

Posted: Fri Jan 23, 2004 7:09 am
by twigletmac
Have you uncommented the line for gd.dll? The module doesn't sound like it's loaded so you won't be able to do much.

Mac

Posted: Fri Jan 23, 2004 7:14 am
by malcolmboston
ah sorry, thats probably my problem, i did a find / replace for GD.DLL and it came back as a result i never thought it may be commented out :roll: