Re: [PHP-INSTALL] PHP Includes within an HTML doc

[email protected] (Brad Kowalczyk)
Newsgroups php.install
Message-ID <[email protected]>
Vincent Dean wrote:

> Hello,
>
>  
>
> I'm sure this is pretty easy but I'm somewhat new to PHP. I would like 
> to place includes in an html doc and have them display via the 
> browser. I understand that this can be done via the **.htaccess file.**
>
>  
>
> Is this the best approach? If so can someone tell me the particular 
> line of code that needs to be in the .htaccess file?
>
>
AddType application/x-httpd-php .php .html

will cause all html files to be treated as php


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.290 / Virus Database: 265.4.7 - Release Date: 7/12/2004
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.