My problem lies here in the modifications to add.cgi
sub set_cookie {
my ($rand) = shift;
use CGI qw(:standard);
$cookie = cookie( -name => 'rand_pass',
-value => "$rand",
-expires => '+1d',
-domain => ''
);
print header( -cookie => $cookie );
open(TMP, ">$rand.txt") || &cgierr("Couldn't open tmp file : $!");
close(TMP);
}
All I get repeatedly is this error message :
CGI ERROR
==========================================
Error Message : Couldn't open tmp file : Permission denied
Script Location : /home/roman365/public_html/noggy/cgi-bin/add.cgi
Perl Version : 5.006001
Can anyone suggest to me what is going wrong?
Its the Auto submission blocker mod by Wiredon.
sub set_cookie {
my ($rand) = shift;
use CGI qw(:standard);
$cookie = cookie( -name => 'rand_pass',
-value => "$rand",
-expires => '+1d',
-domain => ''
);
print header( -cookie => $cookie );
open(TMP, ">$rand.txt") || &cgierr("Couldn't open tmp file : $!");
close(TMP);
}
All I get repeatedly is this error message :
CGI ERROR
==========================================
Error Message : Couldn't open tmp file : Permission denied
Script Location : /home/roman365/public_html/noggy/cgi-bin/add.cgi
Perl Version : 5.006001
Can anyone suggest to me what is going wrong?
Its the Auto submission blocker mod by Wiredon.