ID: 24068 Comment by: ageous at hotmail dot com Reported By: william at databyte dot com Status: Bogus Bug Type: Output Control Operating System: Win XP PHP Version: 4.3.2 New Comment:
Hi everybody! I have the same problem that william put in this thread, but in the version 4.3.8. My question is when this option could be realeased? in the version 4.3.9 it's already working? Thks!!! Previous Comments: ------------------------------------------------------------------------ [2003-06-06 15:52:51] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Gif creation cannot be done with dunbled libraries due to licensing issue. At the moment gd library can only create jpeg, png, wbmp and xpm files. ------------------------------------------------------------------------ [2003-06-06 15:38:32] william at databyte dot com 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> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24068&edit=1