Forum Moderators: phranque

Message Too Old, No Replies

Parse Both SSI & PHP in HTML?

htaccess help please

         

kindred1

4:12 pm on Jun 22, 2005 (gmt 0)

10+ Year Member



Is it possible to parse both php and ssi in the same html file?
if so,what do I modify in htaccess?

for example
news.html needs to have a php include for the news,and a ssi for the page footer.

thanks alot

coopster

1:27 am on Jun 23, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Sure, you can. But PHP has an include() [php.net] statement that will do the same thing ... anyway, see if this helps get you started in the right direction:

[webmasterworld.com...]