note 37507 deleted from function.imagestring by didou
| From: | didou@php.net | Date: | Tue, 18 Nov 2003 23:24:45 +0000 |
| Subject: | note 37507 deleted from function.imagestring by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60596@lists.php.net to get a copy of this message | ||
Note Submitter: stefan.wehowsky@profilschmiede.de
----
This one here is supposed to serve as a simple example for the basic use of imagestring. Just to
give the PHP beginners a hand...
<?php
header ("Content-type: image/jpg");
$im = imagecreate (100, 30);
$bg= imagecolorallocate ($im,255,255,255);
$text= imagecolorallocate ($im,0,0,255);
imagestring ($im, 5, 0, 0, "Hello world!", $text);
imagejpeg($im);
?>