ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PHP in templates - hopefully a quick question

June 28, 2012 5:28pm

Subscribe [1]
  • #1 / Jun 28, 2012 5:28pm

    Matthew81

    81 posts

    Can PHP in templates be used EXACTLY like flat PHP files, or are there any caveats to watch out for?

    I’m particularly interested in any ways handling headers and browser output are concerned. I have some scripts that make extensive use of $_SESSION variables, as well as header(), etc.  Will all that pretty much just work if I paste my current code into EE templates?

    Also, can I use EE tags in PHP, and if so, how or where?

    Thanks,

    Matthew

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases