jag5311
1-8-02, 10:41 PM
I am using a form script that allows users on my site to submit a cheat to me. I am not sure if it is like formmail like all of you talk about, but it is what i am currently using. You can view the script here
http://dreamcatchersweb.com/scripts/
its called FORM RETURN
Well, with all of the variables set up, it takes you to a confirmation page once you have pressed the submit button here www.gamecubecheats.net/cheatcodes.shtml
Here is the confirmation page
www.gamecubecheats.net/cgi-bin/form.cgi
same thing if you press the submit button.
Now i have a particular confirmation page i would like to have setup instead of the one it provides. you can view the page i want here
www.gamecubecheats.net/confirm.htm
Here is the code from the form.cgi
# Print Follow up HTML
print ("Content-Type: text/html\n\n");
print ("<html><head><title>Thank You</title></head>\n");
print ("<body><h1>Thank You For for sending me your cheat request. Once reviewed, it will be updated onto Gamecube Cheats. </h1>\n");
print ("The information has been sent: Your submission is as follows:<hr>\n");
foreach $namevalue (@namevalues) {
($name, $value) = split(/=/, $namevalue);
$name =~ tr/+/ /;
$value =~ tr/+/ /;
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$INPUT{$name} = $value;
unless ($value eq "") {
print ("$name: $value<br>\n");
}
}
print ("<hr>\n");
print ("<a href=\"$backurl\">Back to <b>$backname</b></a><hr>\n");
print ("© <a href=\"http://dreamcatchersweb.com/scripts/\">Dream Catchers Technologies, Inc.</a>\n");
print ("</body></html>\n");
exit;
How do i go about doing this. Or am i just better off using FORMMAIL. Does it have the options to form it into the layout of your particular page.
thanks
bryan
http://dreamcatchersweb.com/scripts/
its called FORM RETURN
Well, with all of the variables set up, it takes you to a confirmation page once you have pressed the submit button here www.gamecubecheats.net/cheatcodes.shtml
Here is the confirmation page
www.gamecubecheats.net/cgi-bin/form.cgi
same thing if you press the submit button.
Now i have a particular confirmation page i would like to have setup instead of the one it provides. you can view the page i want here
www.gamecubecheats.net/confirm.htm
Here is the code from the form.cgi
# Print Follow up HTML
print ("Content-Type: text/html\n\n");
print ("<html><head><title>Thank You</title></head>\n");
print ("<body><h1>Thank You For for sending me your cheat request. Once reviewed, it will be updated onto Gamecube Cheats. </h1>\n");
print ("The information has been sent: Your submission is as follows:<hr>\n");
foreach $namevalue (@namevalues) {
($name, $value) = split(/=/, $namevalue);
$name =~ tr/+/ /;
$value =~ tr/+/ /;
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$INPUT{$name} = $value;
unless ($value eq "") {
print ("$name: $value<br>\n");
}
}
print ("<hr>\n");
print ("<a href=\"$backurl\">Back to <b>$backname</b></a><hr>\n");
print ("© <a href=\"http://dreamcatchersweb.com/scripts/\">Dream Catchers Technologies, Inc.</a>\n");
print ("</body></html>\n");
exit;
How do i go about doing this. Or am i just better off using FORMMAIL. Does it have the options to form it into the layout of your particular page.
thanks
bryan