I imagine you could use cfhttp to call a php page and use the
cfhttp.filecontent variable to paste it into your content.  You'll take a
bit of a performance hit in doing that.  There's no way you can do what you
want just with ColdFusion?

        EC


-----Original Message-----
From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 4:35 PM
To: CF-Talk
Subject: ?: can i include php (or any other files) inside a cfm
template...hmmm


Something I've always wondered about, but now really could use some 
hints in working out: Can a person (me) include a php, or any other type 
of file in a cfm template?  Using cfhttp, or some sort of trickery with 
cfinclude, etc.  I'm using your standard header and footer files and I'd 
like to somehow include the php content in the middle for the few pages 
that need it without rewriting the headers in php.  Any takers?

Tyler Silcox
email | [EMAIL PROTECTED]
website | www.gslsolutions.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to