Parsing PHP codes in Servlet output

From: Date: Tue, 26 Oct 1999 15:44:21 +0000
Subject: Parsing PHP codes in Servlet output
Groups: php.dev 
Request: Send a blank email to php-dev+get-11914@lists.php.net to get a copy of this message
I am running Apache JServ 1.0 and PHP 3.0.12 on a Digital Unix box running Stronghold 2.4.2 (Apache 1.3.6). The problem I am having is that the output of one of my servlets has php codes in it, but my server is not parsing the php codes. Here is a cut from my httpd.conf: ------------------------------------------------------------------------ <IfModule mod_php3.c> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s </IfModule> ------------------------------------------------------------------------ the name of the servlet is housing.shapp. I searched all the mailing lists and couldn't find a solution to this problem. I guess I would have to make the PHP engine parse all files that pass through the server - but I don't know how to do that safely. I don't want this to work just for this servlet - I want to be able to do this for all servlets. Can anyone help me out? Atul Ohri NYU School of Law Webteam ohria@juris.law.nyu.edu

« previous php.dev (#11914) next »