Code:
#! /usr/local/bin/perl
use strict;
use CGI ':standard';
my $c = new CGI;
my $theme = $c->param('choice')
if ($theme)
{
if ($theme == "opt1")
{
print '<body background="name.jpg">'
}
else if ($theme == "opt2")
{
print '<body bgcolor="#000000">'
}
print 'Test!'
}
I'm getting an internal server error 500... can't access the error log either. Any suggestions?? I was trying to use a simple form to set the background based on what they typed into a input text box...