超越PHP PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册
Site search:    
<imagedashedlineimageellipse>
Last updated: Fri, 22 Jun 2007

imagedestroy

(PHP 3, PHP 4 , PHP 5)

imagedestroy -- 销毁一图像

说明

int imagedestroy ( resource image)

imagedestroy() 释放与 image 关联的内存。imageimagecreate() 函数返回的图像标识符。




add a note add a note User Contributed Notes
imagedestroy
knoj at knoj dot com
10-May-2002 09:08
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.

<imagedashedlineimageellipse>
 Last updated: Fri, 22 Jun 2007
view source | feedback | send page | sitemap | aboutus   
Copyright ® 2002-2003 PHPE.NET. All rights reserved
Last updated:2002-11-22