There isn't one. You can mimic it with Apache stuff - but why bother when its far better to stick to the glorious CFML and not have to worry about stuff like this.
Perhaps you could say why you want to use PHP, so we can convince you that your reasons are worthless and you should stay with us. ;) >Hi All, > >Sorry for the OT: > >I'm new to PHP, and am trying to find out if there is the equivalent >of application.cfc onrequest() function: > >I.e, I want to be able to do this, without having to put the includes >in every file....: > ><cffunction name="onrequest"> ><cfargument name="targetpage'' required="yes"> ><cfinclude template="header.html"> ><cfinclude template="#targetpage#> ><cfinclude template="footer.html"> ></cffunction> > >Help? > >Many thanks >T ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271260 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4