Mollien dot Net is IPv6 Enabled!

   My About.Me page
   View my profile on LinkedIn
   Follow me on Twitter
    View my Facebook profile   View my Hyves profile   View my YouTube favorites and uploads


IPv6 Certification Badge for Cas Mollien

Parse HTML-files as PHP
If a file called .htaccess does NOT exist in the root folder of your website, create it.

Add the following line to the .htaccess line:

AddType application/x-httpd-php .html .htm

This will allow the execution of .html and .htm files as if they are PHP scripts by definition.

Since it is possible within PHP to jump in and out of script-modus on the fly, this will allow you to create a file with any extension (not only .htm or .html) and use the PHP-engine to parse it.
Found this script/snippet useful? Please consider buying me a beer - or something else useful..

Terug naar Mollien Dot Net

Terug naar Mollien Dot Net

Terug naar Mollien Dot Net
Total Hits: 1
Unique Visitors: 1
Page Impressions : 1
Remote address: