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

      01010011
      01100101
      01110010
      01101001
      01101111
      01110101
      01110011
      01000111
      01100101
      01100101
      01101011

IPv6 Certification Badge for Cas Mollien
 


 
Various
 
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: 54.81.210.99