Voting

: one plus three?
(Example: nine)

The Note You're Voting On

anonymous
14 years ago
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.

<< Back to user notes page

To Top