| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2003-06-06 15:52 UTC] iliaa@php.net
  [2004-09-24 18:23 UTC] ageous at hotmail dot com
  [2004-09-24 18:58 UTC] johannes@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 07:00:01 2025 UTC | 
Use example of image function in 4.3.2 manual to display jpg image. Success. Change it to display gif image. No image display. php_gd2.dll is included. <? header("Content-type: image/gif"); $string = $_GET['text']; $im = imagecreatefromgif("COMMON/IMG/welcome.gif"); $orange = imagecolorallocate($im, 220, 210, 60); $px = (imagesx($im) - 7.5 * strlen($string)) / 2; imagestring($im, 3, $px, 9, $string, $orange); imagegif($im); imagedestroy($im); ?> Following is the html source: <table> <tr> <td><img src="testgif.php?text=welcome"></td> </tr> </table>