#!/usr/bin/perl -w use warnings; use CGI; #use File::Copy; my($buffer) = ""; my($firstChoice) = ""; my($secondChoice) = ""; my(@values) = ""; read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); (@values) = split(/&/, $buffer); $firstChoice = $values[0]; $secondChoice = $values[1]; ($NULL, $firstChoice) = split(/=/, $firstChoice); ($NULL, $secondChoice) = split(/=/, $secondChoice); #print "Content-type: text/plain\n\n"; #print "$firstChoice\n"; #print "$secondChoice"; my($dynamic) = "$firstChoice$secondChoice.html"; open (FH, "+>" . $dynamic); print FH "\n"; print FH "
\n"; print FH "