betz Wed Oct 9 04:32:05 2002 EDT Modified files: /phpdoc/en/reference/image reference.xml Log: example correction, thanks to goba Index: phpdoc/en/reference/image/reference.xml diff -u phpdoc/en/reference/image/reference.xml:1.10 phpdoc/en/reference/image/reference.xml:1.11 --- phpdoc/en/reference/image/reference.xml:1.10 Tue Oct 8 13:53:21 2002 +++ phpdoc/en/reference/image/reference.xml Wed Oct 9 04:32:05 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <reference id="ref.image"> <title>Image functions</title> <titleabbrev>Image</titleabbrev> @@ -105,7 +105,7 @@ <![CDATA[ <?php header("Content-type: image/png"); - $string = implode($argv, " "); + $string = $_GET['text']; $im = imagecreatefrompng("images/button1.png"); $orange = imagecolorallocate($im, 220, 210, 60); $px = (imagesx($im) - 7.5 * strlen($string)) / 2;
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php