Bill Kamm wrote:
> Does this help?
>
> http://www.php.net/ob_start
>
> "This function will turn output buffering on. While output buffering is 
> active no output is sent from the script (other than headers), instead 
> the output is stored in an internal buffer."
>
> Bill

It generally does, but not really. This is what I tried to do:
// Show thumbnail
      $exifthumbnail = exif_thumbnail($totalpath, $exifwidth, 
$exifheight, $exiftype);
      if ($exifthumbnail !== FALSE) {
            header('Content-type: ' .image_type_to_mime_type($exiftype));
            echo $exifthumbnail;
            header('Content-type: text/html; charset=utf-8');
            echo "<br />\n";
      } else {
            echo "No thumbnail available!<br />\n";
      }


And it still pipes out a whole bunch oh jibberish, that just seems to 
look different as when not sending any header info at all.

Thanks, but I'll try the other proposal. :/

       David K.
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to