On Tue, 10 Jun 2003 12:05:32 -0500, Todd Snyder wrote: >My hope is that their is some directive that I can output at the start that will >invoke the PHP interpreter so that my output will >be run as a PHP script rather than just HTML.
Generally speaking a script will be interpreted by one or the other. I'm pretty sure that if you generate perl code from a perl script, the interpreter doesn't run on the generated output - it's output. I can't say for certain that simply generating php output from a perl script can't be made to work, but I'm almost certain that it isn't intended to. I would however think that it would be possible to generate the php output to a file and then do a header forward from perl to that file or possibly execute the php interpreter from the command line and pass it the php file as input. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php