dynamic <img>
| From: | Anugrah Widya | Date: | Tue, 18 Sep 2007 14:24:31 +0000 |
| Subject: | dynamic <img> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262197@lists.php.net to get a copy of this message | ||
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