Maico
08-26-2005, 05:51 AM
Hi,
Ive got a problem..
I'm making something in CGI-PERL but now i want to 'include' a footer and a header on the main site.
But this code dousn't work :
include("pages/header.cgi");
I also tried :
$header = "[your file here]";
print "Content-type: text/html\n\n";
open(FILE,"$header");
while() {
print $_;
}
But it just freezes then..
Can some one help me out ?
Thnx
Ive got a problem..
I'm making something in CGI-PERL but now i want to 'include' a footer and a header on the main site.
But this code dousn't work :
include("pages/header.cgi");
I also tried :
$header = "[your file here]";
print "Content-type: text/html\n\n";
open(FILE,"$header");
while() {
print $_;
}
But it just freezes then..
Can some one help me out ?
Thnx