If you use apache add this to your .htaccess file (or the whatever-named-file in sites-available/):
Code:
<FilesMatch "^[a-zA-Z0-9]*$">
ForceType application/x-httpd-php
</FilesMatch>
That forces every file that matches the regex pattern provided to be of mimetype that php uses, and what apache uses to fire up the php engine.
This will force every file without an ending to be routed through the php parser, if that is not wanted simply use <Files thisarea> instead, for limiting it to that single file.
Bookmarks