note 37507 added to function.imagestring
| From: | stefan dot wehowsky at profilschmiede dot de | Date: | Tue, 18 Nov 2003 09:00:50 +0000 |
| Subject: | note 37507 added to function.imagestring | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60560@lists.php.net to get a copy of this message | ||
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);
?>
----
Manual Page -- http://www.php.net/manual/en/function.imagestring.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37507
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37507&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37507&report=yes
Search -- http://master.php.net/manage/user-notes.php