My question is, 
What command (in my perl prog?) do i use to goto the next page?
Also, do i have the part of the perl prog correct? it doesn't make the file. 
And what command do i use to set the CHMOD on the net file (in perl)?




This is in my HTML page code:

   <FORM ACTION="www.mydomainname.com/cgi-bin/game/enter.pl" METHOD=GET>
        <P>Email address? <INPUT NAME="e-name"></P>
        <P>Player Name? <INPUT NAME="playname"></P>
        <P>Password? <INPUT NAME="password"></P>
        <INPUT TYPE=submit VALUE="Send form">
   </FORM>


This is my perl program:

#!/usr/bin/perl -w
use strict;
use diagnostics;
print "Content-type: text/html\n\n";

##############
##declared variables
##############
my $e-name;
my $playname;
my $password;

##############
## opens, prints variables and closes the file.
##############
open(FILE,">/home/mydomainname/cgi-bin/game/$playname");
flock (FILE, 2);
print FILE "$e-name", "$password"; 
flock (FILE, 8);
close(FILE);

exit;


Reply via email to