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
User avatar
RacerX
Forum Newbie
Posts: 21
Joined: Tue Jul 01, 2003 9:21 am
Location: NorthEast USA

SSI with PHP?

Post by RacerX »

Is there a php function that allows files to be 'included' like Server Side Includes?

Example:
<!--#include file="header.inc" -->

I want to seperate the layout from the core content.

TIA
~ John
User avatar
Heavy
Forum Contributor
Posts: 478
Joined: Sun Sep 22, 2002 7:36 am
Location: Viksjöfors, Hälsingland, Sweden
Contact:

Post by Heavy »

Here it is in the manual, a great resource, of course...

http://se2.php.net/include/
Post Reply