Re: PHP Includes within an HTML doc
| From: | Brad Kowalczyk | Date: | Tue, 07 Dec 2004 23:34:15 +0000 |
| Subject: | Re: PHP Includes within an HTML doc | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14889@lists.php.net to get a copy of this message | ||
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 .htmlwill 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