note 21363 added to function.imagedestroy
| From: | knoj at knoj dot com | Date: | Thu, 09 May 2002 22:08:16 +0000 |
| Subject: | note 21363 added to function.imagedestroy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30403@lists.php.net to get a copy of this message | ||
You need to do this even if you are just outputing your image to the browser window, and not saving
it to a file! I managed to lock up the server that I am on, and the company was NOT happy with me,
and concidered removing GD support because of it. So, you NEED to inclued
imagedestroy($image_reference); to the end of your script, and before any exit command.
--
http://www.php.net/manual/en/function.imagedestroy.php
http://master.php.net/manage/user-notes.php?action=edit+21363
http://master.php.net/manage/user-notes.php?action=delete+21363
http://master.php.net/manage/user-notes.php?action=reject+21363