Missed a few

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33830 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
James Moore 2000-10-14 13:15:51 +00:00
parent dcf2d388c9
commit 3f02850c43

View file

@ -14,10 +14,10 @@
<para>
<example>
<title>GIF creation with PHP</title>
<title>PNG creation with PHP</title>
<programlisting role="php">
&lt;?php
Header("Content-type: image/gif");
Header("Content-type: image/png");
$string=implode($argv," ");
$im = imageCreateFromPng("images/button1.png");
$orange = ImageColorAllocate($im, 220, 210, 60);
@ -32,7 +32,7 @@
This example would be called from a page with a tag like: &lt;img
src=&quot;button.php?text&quot;&gt; The above button.php script
then takes this &quot;text&quot; string an overlays it on top of a
base image which in this case is &quot;images/button1.gif&quot;
base image which in this case is &quot;images/button1.png&quot;
and outputs the resulting image. This is a very convenient way to
avoid having to draw new button images every time you want to
change the text of a button. With this method they are