I want my HTML pages to be parsed by the PHP engine. How can I do it? Skriv ut

  • 0

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.

Hjälpte svaret dig?

«Tillbaka