George Clarke - 2005-11-05 22:18:15 - In reply to message 1 from Lihat Ervin
The only two things I can think of that could cause this is if your version of PHP is 3.0.0 or less. Also, if you do not have the GD library of image functions installed on your server this class will not work. Make a new short script to see if you have the GD library:
This will tell you everything that the version of PHP you are using has available.
I hope this helps.
George Clarke - 2005-11-06 18:52:32 - In reply to message 3 from Lihat Ervin
It is not hard to install the GD library on your server. You can download the zip file from this website:
Scroll down to the bottom of the page and click on "Download .zip" or the "Download .tar .gz" link. Then uncompress into a temporary directory and run the INSTALL file. Also in the php.ini file, the php_gd2.dll file needs to be listed in the Dynamic Extensions section.
The class should work after doing these things. Let me know how it goes.
Atlanta, Georgia, USA
George Clarke - 2005-11-09 20:21:37 - In reply to message 6 from Lihat Ervin
First of all, I must appologize. It has been a while since I got my webserver running and I had forgotten just how I got the GD to work. If you go to this webpage, it explains how to get it working with Windows. Scroll down to the question: How do I get gd to work with PHP? Basically, in the php config.ini file, find the line in the Dynamic Extensions section that says ;extension=php_gd2.dll and remove the ";" to uncomment the line. (it may be "#") Anyway, I believe it should work after that. The php_gd2.dll file is included in the zip file you downloaded to get PHP.
I hope this helps and you get it working ok. Let me know, ok?
Lihat Ervin - 2005-11-10 07:46:20 - In reply to message 8 from George Clarke
Well, the situation is the following:
I have set the extension_dir = <b>to</b> "c:/php/extensions" and i've deleted the ";" from the front off extention... gd2.dll. I also have the php_gd2.php in the c:/php/extensions directory.
The result: the gd directory is not working yet.
PS: I know it's my fault this problem, becouse I feel that i haven't do everything OK. :)