#!/usr/bin/perl -w use CGI qw(:standard); use DBI; $query = new CGI; $basehost="http://www.what-a-character.com"; $basedir="/cgi-bin/"; $htmldir="/"; $basehtmldir="/"; $chardb="charact"; $dbuser="charact"; $dbpassword="actor"; $dbh = DBI->connect("DBI:mysql:$chardb",$dbuser,$dbpassword) || &SQL_Error(); $configtbl="config"; $header="/home/user1/charact$htmldir"."header.plinc"; $menu="/home/httpd/html$htmldir"."menu.plinc"; #$bordershell="/home/httpd/html$htmldir"."bordershell.plinc"; $bordertop="/home/httpd/html$htmldir"."bordertop.plinc"; $borderbottom="/home/httpd/html$htmldir"."borderbottom.plinc"; $footer="/home/httpd$htmldir"."footer.plinc"; open(HEADER, $header); $header = join('',
); close(HEADER); open(MENU, $menu); $menu = join('',); close(MENU); open(BORDERTOP, $bordertop); $bordertop = join('',); close(BORDERTOP); open(BORDERBOTTOM, $borderbottom); $borderbottom = join('',); close(BORDERBOTTOM); open(FOOTER, $footer); $footer = join('',