Apache-Perl Integration Project |
ApacheCon |
Apache-Related Projects |
The Apache FAQ |
Apache XML Project |
The Java Apache Project |
Apache Module Registry |
PHP Server Side Scripting |
The Apache Software Foundation |
The Jakarta Project |
Apache Project |
|
Linux Start |
Linux Apps |
BSD Today |
Just Linux |
Linux Today |
Linux Planet |
Apache Today
|
Linux Central |
Linux Programming |
BSD Central |
Enterprise Linux Today |
Linuxnewbie.org |
All Linux Devices |
PHPBuilder |
SITE DESCRIPTIONS |
|
|
Scriptlet: Adding dynamic content with PHP and a gif image
Jul 24, 2000, 12 :00 UTC (0 Talkback[s]) (603 reads) |
[ Thanks to for this link. ]
In this scriptlet, we take a look at one way to add dynamic content to your site, with PHP and a gif image.
Excerpt:
/*
Scenario:
We need to create an image that will have the current date,
in the format [month/day/year]. The date text should be added
to the image with PHP so it will auto update itself. The
background color should be black. Which is 0,0,0 rgb (#000000 hex),
and a button like border should be added. The text color should
be white, which is 255,255,255 rgb (#FFFFFF hex). Finally, the darker
border shade color should be dark grey, 160,160,160 rgb (#A0A0A0 hex).
*/
Scriptlet Url: http://php.lansystems.com/index.php?archive=date_image_example.inc
|
|