mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
case error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75962 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
05b4772d5b
commit
2cbf18371d
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.15 $ -->
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<chapter id="features.images">
|
||||
<title>Creating and manipulating images</title>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
|||
<?php
|
||||
Header("Content-type: image/png");
|
||||
$string=implode($argv," ");
|
||||
$im = imageCreateFromPng("images/button1.png");
|
||||
$im = ImageCreateFromPng("images/button1.png");
|
||||
$orange = ImageColorAllocate($im, 220, 210, 60);
|
||||
$px = (imagesx($im)-7.5*strlen($string))/2;
|
||||
ImageString($im,3,$px,9,$string,$orange);
|
||||
|
|
Loading…
Reference in a new issue