On Wednesday 14 March 2001 16:04, you wrote:
> I have been over that page, but did not know that it applied since I do
> not want to modify an image, simply pass it on to the requestor. 
> Here;s my relevant code:
>
> <?php
>
> ...database stuff...
>
>     Header("Content-type: image/jpg");

You tell the browser that you send an image...

> ?>
> <img src="image.jpg" width="100" height="50" alt="Description">

and then send HTML code instead.

do a <?php readfile ("image.jpg"); ?> instead of the <img> tag


-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

CPU not found. retry, abort, ignore?

--
PHP General Mailing List (http://www.php.net/)
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