SQL PHP HTML ASP JavaScript articles and free scripts to download
 
 

GD Support enable and checking

GD library support is required in PHP to manage graphics and images. This is a power full tool to draw graphs, diagrams on the fly and create attractive animations. You can create banners and buttons on the fly using gd library support.

We can enable or disable any support by working on PHP.INI file. Search for this file in your system and open it. You will find a line like this shown in the picture and check that your remove ; before this to make gd support enable.

We will try some steps here to identify GD support is enabled or not. Mostly PHP 4 and higher versions comes with GD support. Some time it may not be enabled. To know this we can use phpinfo function and check GD support is available or not. Here is an image of what phpinfo function displays in a GD enabled system.
The above image displayed by phpinfo function shows that GD support is enabled in the php system and ready to use.

Discuss this tutorial at forum


Further readings
Resizing and adding border to Images
Plotting line graph by drawing data from table
Adding vertical grid to line graph
How to check GD support in PHP
Header for an image in browser
Drawing of graphic lines using GD
Script for Watermarking image on the fly using PHP GD









 

Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.

Scripts
PHP
JavaScript
PHP Tutorial Index
Popular Tutorials
Drop down list
File Upload
Signup script
Member Login
Line Graph
PHP MySQL Paging
PHP Calendar
PHP Tutorials
Date & Time
Array
String Functions
Math Functions
Form Handling
File Handling
Comment Posting
Content Management
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.