|
|
|
|
kbase home : Scripting (HTML, PHP, Perl/CGI) : I want my HTML pages to be parsed by the PHP engine. How can I do it?
|
|
|
I want my HTML pages to be parsed by the PHP engine. How can I do it? In order to parse HTML pages by the PHP engine, you need to add the following line in the .htaccess file. => Clients using PHP 4.x should add the following link in their .htaccess file AddHandler application/x-httpd-php4 .htm .html => Clients using PHP 5.x should add the following link in their .htaccess file AddHandler application/x-httpd-php5 .htm .html The .htaccess file is usually placed under the 'public_html' directory of your account. If it is not there, you can create one. Back to category List all categories |
|
Copyright © 2012 JaguarPC.com