in reply to Make PHP Execute in CGI output
I don't really have any great php experience, but as far as i know there is a binary, called "php" which works much the way the perl executable works. You could pipe all your output through this program (after you're done generating the file) and return it's output to apache as if it was from your script. You could do this by writing a small mod_perl script or implementing it directly into your script(s). Again: I don't know very much about this binary, maybe it doesn't take code from STDIN, maybe it doesn't return to STDOUT, I really don't know very much about this program, but it might work.
Good luck :)
octo
--
GED/CC d-- s:- a--- C++(+++) UL+++ P++++$ L++>++++ E--- W+++@ N o? K? w-- O- M-(+) V? !PS !PE !Y PGP+(++) t-- 5 X+ R+(+++) tv+(++) b++@ DI+() D+ G++ e->+++ h!++ r+(++) y+