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