tor, 2002-11-14 kl. 11:50 skrev Krzysztof Dziekiewicz: <----

> You can not put any html code with image code.
> If you send some html you mean to send
>     header("Content-Type: text/html")
> with
>     header("Content-type: image/jpeg")
> Where do you want go to ?
> You can do so:
> There is on the page http://xxx/user.html?name=smith some html code where a user can 
> Among the html code you insert <img src="http://xxx/userfoto.html?name=smith";>
> On http://xxx/userfoto.html you send  header("Content-type: image/jpeg") and the
> image content and no html code.

tor, 2002-11-14 kl. 09:20 skrev BigDog:                 <----

> I create a php page that gets the image and sends the correct header. 
> Then in my other php page that displays the details about a user i
> <img src="showperson.php?name=$fullname">. Then in showperson i send
> correct image headers and the image is displayed properly.
> HTH...

These are the answer. Bless you both, pretty sirs.




Tony Earnshaw

Cricketers are strange people. They wake up
in October, only to find that their wives had
left them in May.

e-post:         [EMAIL PROTECTED]

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to