|
Kitka -> RE: really dumb question (5/5/2005 4:09:21)
|
Okay, I've been testing. First I tried saving my left include as left.php then inserting the correct code as you mention above, on my test.htm page: <?php include("left.php"); ?> Didn't work. So I tried changing the file name to "left.htm", still no luck. So then I changed the test.htm to test.php, and bingo it worked! BUT ... only when viewed online in a browser. Even though I was working live on the server, FP refuses to show the php includes, in both Normal view and Preview. It isn't very satisfactory being unable to view the assembled page before saving/publishing like you can with FP includes or shared borders. Also, I am really aiming to not have to change the extension of all my many pages, mostly because of Search engine placings. I have edited the Apache "User Defined handler" supposedly to parse .htm and .html pages with php, but maybe I have got it all wrong? Here is what it says in Control Panel: User Defined Handlers .htm AddTypeapplication/x-httpd-php .html AddTypeapplication/x-httpd-php All help gratefully received, I'm feeling very confused. [sm=unsure.gif]
|
|
|
|