Use another extension than .php for your PHP files... your can use .foo, .blabla, .asp or even .htm and .html (in the later case, PHP parses all the files ending in .html, but it will work fine of course if some of these files are plain HTML; slowdown for parsing plain HTML is not noticeable even on the highest loads thanks to PHP's cache).
This process can be done easily by adding the following line to your .htaccess file in the same directory than your code:
AddType application/x-httpd-php .foo .blabla .asp .htm .html
No comments:
Post a Comment