Date: 09/30/98
- Next message: Andrey Fyodorov: "Re: [PHP3] Question about installing GD libs"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] File Locking Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi folks,
This I copy/pasted from the manual:
1: <?php
2: Header("Content-type: image/gif");
3: $string=implode($argv," ");
4: $im = imagecreatefromgif("images/button1.gif");
5: $orange = ImageColorAllocate($im, 220, 210, 60);
6: px = (imagesx($im)-7.5*strlen($string))/2;
7: ImageString($im,3,$px,9,$string,$orange);
8: ImageGif($im);
9: ImageDestroy($im);
10: ?>
Dou you see the missing $ on line 6?
This mistake is in all the manuals for I can see now...
Bram
......... Escape the 'Gates' of Hell
`:::' ....... ......
::: * `::. ::'
::: .:: .:.::. .:: .:: `::. :'
::: :: :: :: :: :: :::.
::: .::. .:: ::. `::::. .:' ::.
...:::.....................::' .::::..
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Andrey Fyodorov: "Re: [PHP3] Question about installing GD libs"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] File Locking Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

