Posted by R. Rajesh Jeba Anbiah on 09/29/05 18:22
koteika@gmail.com wrote:
> How can I print raw data (string) from a UTF-8 .php file?
>
> Simple
>
> echo $var
>
> ouputs unicode string to browser (with unicode prefix bytes), but if I
> want to ouput BLOB data (jpeg file)?
Samething, but with the proper headers set.
<http://in2.php.net/header>
eg. <p>foo foo <img src="image.php" /> </p>
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[Back to original message]
|