in reply to Make PHP Execute in CGI output

Ok, maybe it's not the easier way, but I think it will work:

1) First create a file and put the code into it.
2) Make the browser load the file.

For an example (using your code):
open (THP, ">foo.php"); # THP means TemporaryPHP hehe print THP>>The_End; <!-- Initial HTML code--> <?php include('header.php'); ?> <body> <!--rest of doc--> </body> </html> The_End close (THP); print "Location: http://URL_to_the_file/foo.php\n\n";
Best regards,

Er Galvão Abbott
a.k.a. Lobo, DaWolf
Webdeveloper