RE: GD functions don't delete temporary files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
> Yes. You will have to write your own clean-up code for things like
this.

I don't mean any user generated temporary files, I mean files which are 
created by the PHP function ImageGIF(). How should I even know which 
temporary file name GD chose in each case, or whether it created a temp 
file at all in a particular case?
[/snip]

Before the image is created you can get an array of things in the temp
file, then check for a new thing after the image is created. You can
verify the file type and if all is kosher, delete it.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux