Gd Library Support

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Gd Library Support

Postby Umpqua » 08. March 2004 20:26

I am trying to create graphics with PHP and cannot get them to work. I am running the miniXAMPP and everything else works well. I have checked the configuration settings and the portion for Gd is set to "auto". I can see the three graphs on the index page which show that Gd is working. Do I need to use a plain HTML page and use the php graphic file as an image source? Thanks :?:
Posts: 1
Joined: 04. March 2004 20:32
Location: United States

call your gd code like an image

Postby aparsons » 10. March 2004 15:53

I found instructions for this at New York PHP. You code your php file with the calls to GD, etc. Then call the php file (with parameters to control it) like an image from the page it is used in.

Introduction to PHP Image Functions

In the above presentation, you create a php file "simplepng.php".
You then choose a color (0A2F90) and call this file from your web page as if it was an image:

<img src="simplepng.php?color=0A2F90">
Posts: 4
Joined: 10. March 2004 15:40

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 103 guests