dynamic <img>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux