SSI with PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dudemanthing
Forum Newbie
Posts: 1
Joined: Sun Nov 23, 2008 11:49 am

SSI with PHP?

Post by dudemanthing »

How can I include a PHP file in an shtml page, using SSI? Whenever I try to do this, it doesn't work properly for some reason. :banghead:
User avatar
Syntac
Forum Contributor
Posts: 327
Joined: Sun Sep 14, 2008 7:59 pm

Re: SSI with PHP?

Post by Syntac »

If I remember correctly, including a page with SSI doesn't run it through the parsing engine. You'd be better off doing the include with PHP instead.
Post Reply