Re: LDAP specific?

From: Date: Thu, 14 Nov 2002 20:04:17 +0000
Subject: Re: LDAP specific?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-124479@lists.php.net to get a copy of this message
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: tonni@billy.demon.nl www: http://www.billy.demon.nl

« previous php.general (#124479) next »