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" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>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
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

####################################
Edmund Gorski
Programmer / Analyst
WWW Coordinator Dept. @ District Office
727-341-3181
####################################


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to