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 >act. > 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 call > <img src="showperson.php?name=$fullname">. Then in showperson i send the > correct image headers and the image is displayed properly. > > HTH... ______________ These are the answer. Bless you both, pretty sirs. Best, Tony -- 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] www: http://www.billy.demon.nl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php