[PHP] PHP SSI in armony?

2001-07-21 Thread Seb Frost
I want to use both PHP and SSI on the same page. My server requires that SSI files are .shtml. If I set it to also treat .shtml files as php files (like I have done with .htm) then what will happen? Will it get parsed first for php and then for ssi, or the other way round? Or puke completely?

Re: [PHP] PHP SSI in armony?

2001-07-21 Thread Rasmus Lerdorf
I want to use both PHP and SSI on the same page. My server requires that SSI files are .shtml. If I set it to also treat .shtml files as php files (like I have done with .htm) then what will happen? Will it get parsed first for php and then for ssi, or the other way round? Or puke

Re: [PHP] PHP SSI in armony?

2001-07-21 Thread Jack Sasportas
The answer is up to you. You make the shtml generate the php, OR the php generate the shtml... My guess is probably php generates the shtml, and the reference to it... I think that should work... Seb Frost wrote: I want to use both PHP and SSI on the same page. My server requires that SSI