note 123825 added to image.examples-png
| From: | casetheman.yahoo.com via php-notes | Date: | Tue, 07 May 2019 07:19:16 +0000 |
| Subject: | note 123825 added to image.examples-png | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210981@lists.php.net to get a copy of this message | ||
I had to use ob_start / ob_clean for this to work, like below part of the coding:
<?php
ob_start();
imagepng($image);
$contents = ob_get_contents();
ob_end_clean();
imagedestroy($image);
ob_clean();
header('Content-Type: image/png');
echo $contents;
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.195 (proxied: 213.127.52.14)
----
Manual Page -- http://php.net/manual/en/image.examples-png.php
Edit -- https://master.php.net/note/edit/123825
Del: integrated -- https://master.php.net/note/delete/123825/integrated
Del: useless -- https://master.php.net/note/delete/123825/useless
Del: bad code -- https://master.php.net/note/delete/123825/bad+code
Del: spam -- https://master.php.net/note/delete/123825/spam
Del: non-english -- https://master.php.net/note/delete/123825/non-english
Del: in docs -- https://master.php.net/note/delete/123825/in+docs
Del: other reasons-- https://master.php.net/note/delete/123825
Reject -- https://master.php.net/note/reject/123825
Search -- https://master.php.net/manage/user-notes.php