Re: php and servlets (fwd)

From: Date: Wed, 15 May 2002 19:25:00 +0000
Subject: Re: php and servlets (fwd)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97787@lists.php.net to get a copy of this message
No really. If I generate html on-fly in Java servlets and 'try_param.php' is pointed in img then php does not generate any output. But that is my goal. However if I point 'try_param.php' in image in static html and I load that file image is generated. So my question is if I need any specific compilation or support for Java servlets. Thanks, Maciej On Wed, 15 May 2002, 1LT John W. Holmes wrote: > 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èYÀj�]� ?¡¥ > > > > %HÈ > > > > > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#97787) next »