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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271256
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to