cvs: phpdoc /en/reference/image reference.xml
| From: | Friedhelm Betz | Date: | Wed, 09 Oct 2002 08:32:05 +0000 |
| Subject: | cvs: phpdoc /en/reference/image reference.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349072@lists.php.net to get a copy of this message | ||
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;