Re: unlink before imagepng?

From: Date: Tue, 19 Jun 2007 15:07:31 +0000
Subject: Re: unlink before imagepng?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-257416@lists.php.net to get a copy of this message
On 6/17/07, Brian Dunning <brian@briandunning.com> wrote:
If I write an edited image back to disk using imagepng, is it desirable to first unlink the existing image?
It's not required.
I notice that it works fine if I don't. Just wondering if there are any pros or cons.
Just be sure and call clearstatcache() so your changes show up immediately. -- Greg Donald http://destiney.com/

« previous php.general (#257416) next »