PHP

 
 
PHP (= Hypertext Preprocessor) is an HTML-embedded server-side scripting language.

PHP is distributed at no charge for commercial or non-commercial use. For more information read the LICENSE information.

More information about PHP can be found at: http://www.php.net

PHP manuals can be found at:
http://www.php.net/manual/en/
http://devzone.zend.com/manual/

The latest PHP version can be downloaded from: http://www.php.net/downloads.php

rss feed






GD library



Information
The GD library is mainly used for creating images at runtime. You can construct graphs, charts, etc. The GD library is a loadable extension module, which can be found in the <php>/extensions directory, see PHP installation procedure.

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
PHP 4


Procedure
  1. To verify if the GD library is enabled, run the following script:

    <?php
       var_dump(gd_info());
    ?>


    Or use the <?php phpinfo(); ?> and ensure that GD support is enabled.

  2. To enable the GD library, change the following line in the php.ini
    (e.g.: c:\WINDOWS\php.ini) file:

    Uncomment line:
    extension=php_gd2.dll

  3. Restart Apache.