Hi,
I have a subscription form and when someone subscribes he his redirected to a "ok URL". The datas of the subscription are save to a txt file.
The "ok URL" is a link to a different cgi (not on my server), but to have it works, I need to pass the differents values from the first cgi to the second. I think I should use hidden fields, but I don't know how, as the ok URL is already a hidded field.
On the subscription cgi, I have
if ($fields{'ok_url'} ne ""){
print "Location: $fields{'ok_url'}\n\n"; exit;
}
else { &thank_you; }
and in my subscription form:
<input type="hidden" name="ok_url" value="http://www.yourdomain.com/cgi-bin/yourdata.pl">
How could I pass the entered values on the subscription form to the second cgi (on a different server)?
Thanks a lot for your help.
I have a subscription form and when someone subscribes he his redirected to a "ok URL". The datas of the subscription are save to a txt file.
The "ok URL" is a link to a different cgi (not on my server), but to have it works, I need to pass the differents values from the first cgi to the second. I think I should use hidden fields, but I don't know how, as the ok URL is already a hidded field.
On the subscription cgi, I have
Code:
if ($fields{'ok_url'} ne ""){
print "Location: $fields{'ok_url'}\n\n"; exit;
}
else { &thank_you; }
and in my subscription form:
<input type="hidden" name="ok_url" value="http://www.yourdomain.com/cgi-bin/yourdata.pl">
How could I pass the entered values on the subscription form to the second cgi (on a different server)?
Thanks a lot for your help.