Re: php and servlets (fwd)

From: Date: Wed, 15 May 2002 18:58:37 +0000
Subject: Re: php and servlets (fwd)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97778@lists.php.net to get a copy of this message
So if you see an image, what's the problem? ---John Holmes... ----- Original Message ----- From: "Maciej Przybycien" <maciej@lotus.phys.nwu.edu> To: <php-general@lists.php.net> Sent: Wednesday, May 15, 2002 2:50 PM Subject: [PHP] php and servlets (fwd) > > > The problem seems to come because I generate html and include > <img src="/smtMonitoring/jpgraph_cache/try_param.php" ... > from Java servlets. > > If my '<img src="/smtMonitoring/jpgraph_cache/try_param.php" ..' > is included in html file and I load that html the image appears on the > screen with no problem. > > Do I need any special php compilation or support for Java servlets? > > Thanks, > Maciej > > > On Wed, 15 May 2002, 1LT John W. Holmes wrote: > > > Yes, that does work, but the big question is if try_param.php is outputting > > an image? How are you doing it? Are you setting the appropriate headers()? > > > > ---John Holmes... > > > > ----- Original Message ----- > > From: "Maciej Przybycien" <maciej@lotus.phys.nwu.edu> > > To: <php-general@lists.php.net> > > Sent: Wednesday, May 15, 2002 1:38 PM > > Subject: [PHP] tag img and php > > > > > > > > > > Hi, > > > I included php file as html img: > > > <img src="/smtMonitoring/jpgraph_cache/try_param.php" > > > width="340" > > > height="240" > > > > and Netscape brawser seems not to interpret that. However if I change > > > try_param.php -> try_param.png then image can be desplayed. > > > > > > According to the documentation 'try_param.php' should be interpereted > > > fine. > > > What could be the problem? > > > > > > Thank you, > > > Maciek > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#97778) next »