|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-02 11:09 UTC] tony2001@php.net
[2005-07-10 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 20:00:01 2025 UTC |
Description: ------------ using win2k apache with php wenn I create a 1 pixel true color image an reload the picture apache crashs Reproduce code: --------------- $im = imagecreatetruecolor(1, 10); $background_color = ImageColorAllocate($im, 50, 50, 50); Imagefill($im, 0, 0, $background_color); header("Content-type: image/png"); ImagePNG($im); ImageDestroy($im); Expected result: ---------------- @ the first time you run it nothing happend all is good wenn I reload the site the picture isn't created and the apache server crashs... wenn you change somthing at the script for example you add a empty line reload the picture it works normal. reload again doesn't work ... with: $im = imagecreatetruecolor(2, 10); or: $im = imagecreate(1,10); no error occurred Actual result: -------------- perhaps an apache error than sorry for writing