I currently have a webpage layout using 3 "frames" via PHP. Each "frame" read from a separate HTML file and arranged like this:
E | MAIN
F | PAGE
I want to allow the "main page" to be a mix of HTML and PHP code. I've tried readfile(), which outputs the HTML fine, but won't execute the PHP code. eval() only does one string/line at a time, and assumes everything is PHP code. passthru() doesn't give me any output.