Re: PHP with apache 1.3
| From: | Ed Gorski | Date: | Tue, 28 May 2002 13:18:39 +0000 |
| Subject: | Re: PHP with apache 1.3 | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7136@lists.php.net to get a copy of this message | ||
Your parser might be setup to run on .htm pages but you really should make sure that parser is setup correctly....what server and version of php are you running?
ed
At 11:01 PM 5/28/2002 +1000, Peter wrote:
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#################################### Edmund Gorski Programmer / Analyst WWW Coordinator Dept. @ District Office 727-341-3181 ####################################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 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpI 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?