Status: 302 Moved location: ../index.html?error=1
Ive been trying to get this check script to work from an exec from a html page c below
Code:
<html>
<!--#exec cgi="CGI_BIN/CHECK.cgi"-->
</html>
Code:
#!/Perl/bin/perl -wT
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;
print "Content-type: text/html\n\n";
my $query = new CGI;
my $cookieinfo = $query->cookie('mcjeeves.net');
if (!$cookieinfo)
{
print $query->redirect("../index.html?error=1");
exit;
}
else
{
print $query->redirect("../homepage.html?error=1");
}
does anybody know why im getting this error
MadAXE