View Single Post
Old 2009-05-12, 07:10 PM   #4
nate
I can now put whatever you want in this space :)
 
nate's Avatar
 
Join Date: Mar 2009
Location: Merica!
Posts: 543
Quote:
Originally Posted by cd34 View Post
Code:
<FilesMatch "\.htm(l)?$">
    SetOutputFilter INCLUDES
</FilesMatch>
AddType application/x-httpd-php .htm .html
Ewwwwwww.

echo @stripslashes( @join( @file( "http://www.somedomain.com/cgi-bin/someperl.cgi" ),"" ));

As for running htm pages as php, maybe in one directory it would be OK, but not sitewide. You dont really want HTM being parsed as PHP if you can help it. It will cause a performance hit.
__________________
Its just a jump to the left.

Last edited by nate; 2009-05-12 at 07:15 PM..
nate is offline   Reply With Quote