|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-01-06 15:54 UTC] rasmus at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 07:00:01 2025 UTC |
Actually, php-4.0b3 with gd-1.7.3 libgd.a on QNX linked into apache_1.3.9. Basic php works. The script below complains 'Content header already sent'. The below should output a simple rectangle to the browser?? <HTML> <HEAD> TEST PAGE </HEAD> <BODY> <?php Header("Content-type: image/png"); $im=imagecreate(150,30); $white=ImageColorAllocate($im,255,255,255); $black=ImageColorAllocate($im,0,0,0); ImageFilledRectangle($im,0,0,150,30,$white); ImagePng($im); ImageDestroy($im); ?> </BODY> </HTML>