Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Using PHP in .shtml pages
01-12-2011, 12:08 AM #1
- Join Date
- Jul 2008
- MD, USA
- Thanked 0 Times in 0 Posts
Using PHP in .shtml pages
I have a huge site with all .shtml extensions and includes, and I want to use some PHP includes sitewide... but when I do and rename the file with a .php extension, the .shtml includes don't show.
My htaccess is this right now:
Options +Includes AddType text/html .shtml .shtm .htm .html AddHandler server-parsed .shtml AddHandler application/x-httpd-php .shtml .shtm .htm .html AddHandler php5-cgi .php