How do I parse PHP in HTML pages?

If you wish parse PHP in your HTML pages you need to add the following line you the .htaccess file within the public_html directory of your account:

AddHandler application/x-httpd-php5 .html .htm

  • 99 Users Found This Useful
Was this answer helpful?

Related Articles

Why is allow_url_fopen disabled?

The PHP parameter allow_url_fopen has been disabled in PHP across our web hosting services as a...

General SSI Information

SSI (Server Side Include) tags allow you to include dynamic content in standard HTML pages. All...

How do I use the Ioncube loaders?

The Ioncube loaders are installed and ready for use so you don't need to do anything to use them.

What is the path to Python?

The path to Python on our servers is: /usr/bin/python

Can I use FormMail type scripts?

Yes we allow you to run FromMail type scripts, we strongly recommend that you use the nmsFormMail...