mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
example correction, thanks to goba
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@98945 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
13103e40f0
commit
436a4fc629
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue