If you are using assistive technology and are unable to read any part of the FastDomain website, or otherwise have difficulties using the FastDomain website, please call 888-210-FAST and our customer service team will assist you.
FastDomain Web Hosting Help
Executing PHP code within an HTML document
Executing php code within a HTML document
This article is inaccurate or out of date and should not be used.
Executing php code within a HTML document is easy. Simply add this line to your main .htaccess file:
AddHandler application/x-httpd-php5 .html .php .htm
Then, you can insert code into your .html pages like this:
echo "hello world"
Recommended Help Content
This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.
If suddenly when you go to your page, you get nothing on the page. You can still get HTML to display, just not PHP. To serve HTML pages to browsers, we don't associate the Apache processes with your 2
The redirection of www.yourdomain.com/default.html or index.html to http://www.yourdomain.com/index.php?act=whatever redirects it to http://www.yourdomain.com/index.php%3fact=whatever In other words,
Related Help Content
How do I redirect users to another page using PHP?
This article will explain how to create MIME types.
How to Set different character sets with PHP and HTML to display correctly.
Instructions to set different character sets in HTML. Note: Not all character sets will be correctly rendered with this encoding format, but most will. You can find specific information about which ch
How can I adjust the php settings specifically for an Addon Domain?
tags: domain php
How to customize your html or php error pages.
tags: errors php
This article explains how to enable FastCGI for PHP applications.
tags: fastcgi php
I need an EPP authorization code to transfer my domain to another registrar.