Cooking With Web Services: PHP & GD - PHP, GD, and NuSOAP
(Page 3 of 5 )
PHP GD provides graphical functions for creating images at runtime. There is also another library set called JpGraph; however, in this article we will use the GD library. Constructing graphs with GD is fairly simple and straightforward. You need PHP 4.3.2 or higher to use GD. Run PHP.EXE –m to ensure the GD module is loaded with your current PHP engine. If GD is not installed
this article provides a detailed installation guide. In this article we will use the following four functions of the GD library (you may find detailed descriptions of these functions from the
PHP manual):
- ImageCreate(),
- ImageColorAllocate(),
- ImageLine(),
- ImageString()
You also need PHP NuSOAP to consume Web Services. Download the necessary files (basically it is a single file NuSoap.php) and copy this file to the appropriate folder.
Next: Example Walkthrough >>
More Web Services Articles
More By Ahm Asaduzzaman