Re: PHP with apache 1.3

From: Date: Tue, 28 May 2002 13:01:57 +0000
Subject: Re: PHP with apache 1.3
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-7135@lists.php.net to get a copy of this message
This file works: <?php $browser = getenv("HTTP_USER_AGENT"); ?> <P>You are using the <?php echo($browser);?> web browser. </P> It is called php_test.htm and is called as the action on a button from a plain html page. Regards Peter Goggin ----- Original Message ----- From: "Phil Dibowitz" <phil@ipom.com> To: <php-install@lists.php.net> Sent: Tuesday, May 28, 2002 4:49 PM Subject: Re: [PHP-INST] PHP with apache 1.3 > >>I am having a similar problem... specifically... > >> > >>Files with .php3 and .php work perfectly > >> > >>however .. EMBEDDED php .. that is php embedded into standard .html > >>(i.e. <?php print("this is a test\n"); ?> ) > >> > >> does NOT work > >> > >>anyone have any clues or suggestions? > >> > > I'm not quite sure what you mean by embedded PHP. AFAIK If you have an HTML > file with PHP in it somewhere you must name that file with .php3 or .php so > that it gets processed accordingly... > > Phil > -- > "They that can give up essential liberty to obtain a little temporary safety > deserve neither liberty nor safety." > -Benjamin Franklin, 1759 > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.363 / Virus Database: 201 - Release Date: 21/05/02

« previous php.install (#7135) next »