Re: unlink before imagepng?

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

 



Can do, but I would be calling clearstatcache() very often, many times per second, as often as these graphics are being edited. Would that still be appropriate for the server?


On Jun 19, 2007, at 8:07 AM, Greg Donald wrote:

On 6/17/07, Brian Dunning <brian@xxxxxxxxxxxxxxxx> 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/

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


--
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