note 99733 added to function.imagepng

From: Date: Wed, 01 Sep 2010 19:51:16 +0000
Subject: note 99733 added to function.imagepng
Groups: php.notes 
Request: Send a blank email to php-notes+get-172257@lists.php.net to get a copy of this message
If you need to call imagepng() multiple times (for example, when you want to send it to the browser, but also to a disk cache), write your image to a file first, THEN call readfile() on it. PHP internally works with a temporary file when sending the image to the browser, so you'll gain nothing by calling imagepng() twice. ---- Server IP: 217.160.235.204 Probable Submitter: 93.245.252.98 ---- Manual Page -- http://www.php.net/manual/en/function.imagepng.php Edit -- https://master.php.net/note/edit/99733 Del: integrated -- https://master.php.net/note/delete/99733/integrated Del: useless -- https://master.php.net/note/delete/99733/useless Del: bad code -- https://master.php.net/note/delete/99733/bad+code Del: spam -- https://master.php.net/note/delete/99733/spam Del: non-english -- https://master.php.net/note/delete/99733/non-english Del: in docs -- https://master.php.net/note/delete/99733/in+docs Del: other reasons-- https://master.php.net/note/delete/99733 Reject -- https://master.php.net/note/reject/99733 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#172257) next »