J
Jerry Krinock
I've been working on my first perl cgi script for server-side form
validation today. I was amazed to find out that, after validating,
all I have to do is
print "Location: $redirect\n\n";
and my form gets redirected to another script. One line? No
modules? Great!
However, it looks like this simply passes through the received query
string, and now I realize I need to change a value or two in the query
after validation, for example, multiplying price by a coupon discount.
Is there any similar simple way to edit the query before sending the
redirect? Or do I need a module? Looks like
use CGI ;
has the functions I need. But I see there are other modules
available. If I need a module, what is a good one that my web host is
likely to have already installed?
Thank you,
Jerry Krinock
validation today. I was amazed to find out that, after validating,
all I have to do is
print "Location: $redirect\n\n";
and my form gets redirected to another script. One line? No
modules? Great!
However, it looks like this simply passes through the received query
string, and now I realize I need to change a value or two in the query
after validation, for example, multiplying price by a coupon discount.
Is there any similar simple way to edit the query before sending the
redirect? Or do I need a module? Looks like
use CGI ;
has the functions I need. But I see there are other modules
available. If I need a module, what is a good one that my web host is
likely to have already installed?
Thank you,
Jerry Krinock