note 59078 added to function.header

From: Date: Fri, 25 Nov 2005 16:29:09 +0000
Subject: note 59078 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-99092@lists.php.net to get a copy of this message
this code display message error in the browse.... I'm not say ... <?php function img($string){ Header("Content-type: image/png"); $im = ImageCreate(300, 300); $red = ImageColorAllocate($im, 255, 0, 0); $white = ImageColorAllocate($im, 255, 255, 255); $blue = ImageColorAllocate($im, 0, 0, 255); $black = ImageColorAllocate($im, 0, 0, 0); ImageFill($im, 0, 0, $red); ImageString($im, 5, 210, 30, $string, $black); ImagePng($im); return($im); } echo "<html><body> <img src=".img('aceptar')."> </body></html>"; ?> ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+59078 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59078&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59078&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59078&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59078&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59078&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59078&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59078&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+59078&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#99092) next »