#!/bin/perl #We're using the GET method $rawinput = $ENV{'QUERY_STRING'}; print "$rawinput"; #@inps = split(/,/, $rawinput); #foreach $inp (@inps) { # ($name, $value) = split(/=/, $inp); # $value =~ tr/+/ /; # $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; # # $FORM{$name} = $value; #} #$FORM{'loc'} =~ s/..//; #Does the same as the lines above! heh #$morestuff = "$basedir"."$FORM{'loc'}"; #ATTEMPTING TO GET A FILE HANDLE #open(HTMLDOC, $morestuff) || die "Couldn't create file handle to /islam/sq/test.htm for output\n"; #print "Content-type: text/html\n\n"; #print "\n
\n