Re: [PHP4BETA] Output buffering
| From: | Rasmus Lerdorf | Date: | Tue, 23 May 2000 23:11:16 +0000 |
| Subject: | Re: [PHP4BETA] Output buffering | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15617@lists.php.net to get a copy of this message | ||
> With output buffering on (in php.ini) isn't it possible to show an image in
> the middle of the page by sending a header("Content-type: image/gif"); and
> then the contents of the image?
>
> If so..does anyone have an example?
<html>blah blah
<img src="script.php">
blah blah </html>
Then write yourself a script.php file which generates an image/gif data
stream. This has nothing to do with output buffering and you definitely
cannot mix content in a single request like that.
-Rasmus