Okay I am trying to include some php scripts in an html site, i read somewhere that you can change the .htaccess file to include some lines of code that will allow you to run php on html pages. But now I cannot open my site in firefox, it opens up a dialog box asking me to download a page or something!?!? says its now a "application/x-httpd-php" page... what did I do wrong and how can I fix it !?!? I added : AddHandler application/x-httpd-php5 .php Code (markup): I just want it to go back to normal before I made the changes.... ugh!
IF you are on a VPS or dedicated server, you need to get system admin support to fix you server. If you are on a shared hosting, contact your host.
Okay It turned out to be something simple... just had to clear my cache... but now the file that Im trying to display isnt working... im trying to make a revolving banner ad show up on my page (using php) but I dont want to convert my pages to html for google ranking reasons etc... the current site is www.smftutorials.com. I edited the .htaccess to include these lines: RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html Code (markup): this is the root folder for the testing page: www.smftutorials.com/testing the main page is named template.html the revolving banners arent showing though??? hmmmm what am I doing wrong?