note 21565 added to function.imagecreate
| From: | php at silisoftware dot com | Date: | Fri, 17 May 2002 14:17:09 +0000 |
| Subject: | note 21565 added to function.imagecreate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30753@lists.php.net to get a copy of this message | ||
Don't try and create an image with a really large width and/or height. First, $width x $height
is (at least) the bytes of memory that need to be allocated. Secondly, if you exceed the range of
int for either parameter, Apache crashes (before allocating any memory).
Don't ask how I figured this out ;)
--
http://www.php.net/manual/en/function.imagecreate.php
http://master.php.net/manage/user-notes.php?action=edit+21565
http://master.php.net/manage/user-notes.php?action=delete+21565
http://master.php.net/manage/user-notes.php?action=reject+21565