PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
There's a function called [php_man]get_loaded_extensions[/php_man](), which does what it says. The website to download GD can be found on the PHP [php_man]GD[/php_man] page.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
That's right, you need to install GD. You can check by calling phpinfo() - I can't remember the exact section you look at, but it's all pretty intuitive.
I assume this is the Windoze installer from the PHP.net download page? and your installing on your local machine?
If so, the installer package doesn't come with any additional extensions. You can download the .zip package which has many extensions and simply extract them somewhere on your drive, then edit your php.ini file to uncomment the extensions you require and also specify the extension directory. Then restart your webserver and all should be good.
mjseaden wrote:That's right, you need to install GD. You can check by calling phpinfo() - I can't remember the exact section you look at, but it's all pretty intuitive.
Mark
did u means the error i got is a sign of i don't hv GD lib installed???
if its a local server(you have access to php.ini) you may be able to load the extension. if php was installed using the installer then forget it you will have to download and install gd seperatly, but if you installed php from a zip file, you allready have the extension
go to the php.ini file located in you windows root directory(c:\windows, c:\winnt) and uncomment the line