|
From: elmorilloana on 6 May 2008 22:16 htaccess file code lets server parse server side include .shtml as .html with this: AddType text/html .html AddHandler server-parsed .html it makes me happy so i can continue using .html extensions on all pages. however, same server side include statement in .php pages is not recognized. what do i need to add to htaccess file so ssi in .php pages to be recognized?? (not php code in an html page but pure php extension; i.e. i want to use the same ssi for header used in .html pages to be in .php pages.) browsed to find this answer but must not be using correct key words as have found every answer but this one. thanks.
From: Alan on 6 May 2008 22:24 > same server side include statement in .php pages is not recognized. Use a php include statement instead of ssi directive. -- Alan Adobe Community Expert, dreamweaver http://www.adobe.com/communities/experts/
From: elmorilloana on 7 May 2008 09:09 thanks for the tip. for anyone who finds this thread, this works: the include statement for a .php page: <?php include("test.txt"); ?>
|
Pages: 1 Prev: I have read everything about Images broken Next: spry menu bar load time in IE |