Hi folks, I have cgi files and want to 'include' a php file for the header and footer - is it possible, or do I need to change the .cgi extension? Any help would be much appreciated,
Derek
jatar_k
10:43 pm on Nov 28, 2006 (gmt 0)
so is the the cgi file perl? there is also php cgi.
if it is perl I believe you need some kind of exec to include the output of the script as opposed to the content
derek mcgilvray
9:05 pm on Nov 29, 2006 (gmt 0)
Thanks for your offering jatar_k, I'm not sure if it's perl or php but I messed around a bit and was able to put the content of the php include files directly into the cgi script and all's working well now. Thanks again for your help.