Depending on your configuration though you can very well have all the .htm 
files run through the PHP parser..

ed

At 09:13 AM 5/28/2002 -0700, Phil Dibowitz wrote:
>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.
>
>
>Someone correct my if I'm wrong, but I think that's a bit of a fluke... if 
>you want the interpreter called you have to name it .php...
>
>That's why you have that AddType line in your httpd.conf saying ".php is 
>php4" and the other one saying ".php3 is php3"...
>
>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


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

Reply via email to