[PHP] PHP/Perl/CGI Question

2001-03-20 Thread Clayton Dukes
Howdy, I have a search cgi form that has the following function: sub header{ print "Content-type: text/html\n\n"; print "?php include(\"mainfile.php\")\;?\n"; print "?php include(\"header.php\")\;?\n"; print "titleSearch/title\n";} When I use the function though, the web page

Re: [PHP] PHP/Perl/CGI Question

2001-03-20 Thread Clayton Dukes
Rush" [EMAIL PROTECTED] To: "Clayton Dukes" [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 2:33 PM Subject: Re: [PHP] PHP/Perl/CGI Question on 3/20/01 02:21 PM, [EMAIL PROTECTED] splat open and thusly melted: What am I doing wrong? Why is it printing the php tags instead