note 94161 added to function.imagejpeg
| From: | shane at oconnor dot net | Date: | Tue, 20 Oct 2009 13:06:06 +0000 |
| Subject: | note 94161 added to function.imagejpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161904@lists.php.net to get a copy of this message | ||
The reason you are only seeing one image is because in the imagejpg funcrtion you are nulling the
second parameter, which forces the output direct to browser with headers etc. If you were to put a
filename there those images would be located in temp dir and you could then put them in img html,
displaying as many images as you like, whereas sending out those headers will halt further images
being received once rthe first one is finished.
----
Server IP: 69.147.83.197
Probable Submitter: 85.118.19.132
----
Manual Page -- http://www.php.net/manual/en/function.imagejpeg.php
Edit -- https://master.php.net/note/edit/94161
Del: integrated -- https://master.php.net/note/delete/94161/integrated
Del: useless -- https://master.php.net/note/delete/94161/useless
Del: bad code -- https://master.php.net/note/delete/94161/bad+code
Del: spam -- https://master.php.net/note/delete/94161/spam
Del: non-english -- https://master.php.net/note/delete/94161/non-english
Del: in docs -- https://master.php.net/note/delete/94161/in+docs
Del: other reasons-- https://master.php.net/note/delete/94161
Reject -- https://master.php.net/note/reject/94161
Search -- https://master.php.net/manage/user-notes.php