sub bad_hacker_no_cookie { print "Content-type: text/html\n\n"; print " \n"; print "
\n"; print "##
sub bad_hacker_no_cookie {
print
header,
start_html( -bgcolor => '#000000', -text => '#99ccc'),
h1( { -align => 'center' },
'!Unauthorized Access!',
br(),
font( { -color => 'red' },
"Hey bub, stop messin' with my News Page!",
br(),
"You are at IP address $user !",
),
),
end_html;
}
####
if ($topic eq "" && $words eq "") {
open (FTXT, "$path_to_text") or die "where's the text file? : $!";
my @text_file = ;
open (FHTML, "$path_to_header") or die "where's the html file? : $!";
my @html_file = ;
print "Content-type: text/html\n\n";
print @html_file;
print @text_file;
print "