Afternoon, Luc!

.Cite 30  2001 ., 4:21:32.
LS> Maybe this helps:

LS> $file = "/tmp/pathtoimage/image.jg"
LS> $fp = fopen($file, filesize($file));
LS> $image = fread($fp, filesize($file)); //not sure about fread function

LS> print $image //or imagejpeg($image), I'm not sure..

No. When you echoing $image, binary data will putted into the stream.
How opening j[eg-image in notepad.exe.
 You must put the header to begin of stream (header("Content-type:
Call this script "image.php" for example and show image using this
<img src=image.php>

Sergey Larionov    -    [EMAIL PROTECTED],
 Kos'ma prutkov

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to