Carole
January 27th, 2001, 11:13
Hi,
what would you use to call an external file into a cgi script? I'm new to perl, but know enough to add modifications (hacks) and to change the layout around, but not sure about the language itself. I currently have my header/footer called from the script like:
$config{'header'} = <<EOF (header here) EOF
but that's a lot of html in an already huge file, so I want it to be called from another file, sort of like how you'd use:
<?include('header.html')?>
with a regular html file and php. It's probably simple, but I don't know a lot of CGI... any help?
what would you use to call an external file into a cgi script? I'm new to perl, but know enough to add modifications (hacks) and to change the layout around, but not sure about the language itself. I currently have my header/footer called from the script like:
$config{'header'} = <<EOF (header here) EOF
but that's a lot of html in an already huge file, so I want it to be called from another file, sort of like how you'd use:
<?include('header.html')?>
with a regular html file and php. It's probably simple, but I don't know a lot of CGI... any help?