Re: Show image img src=img.php?img=1.jpg help



b007uk@xxxxxxxxx wrote:
header("content-type: image/jpeg");

header("Content-Type: image/jpeg");
header('Content-Disposition: inline; filename=$showfile");

Allthough, Disposition isn't really according to standards....

A brutal read:
http://www.faqs.org/rfcs/rfc2616

Also, readfile($showfile) seems faster in this case....

Grtz,
--
Rik Wasmus


.