dear friends :),

i have problem with dynamic image displaying

here the snippets

thumb.php
<?php
header("Content-type: image/jpg");
$file = "data/original/filename.jpg";
readfile($file);
?>

img.php
<img src="thumb.php?filename.jpg" />

problem is i always get broken images, someone know how to fix this ?

thx in advance
anuwidy

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to