Gossamer Forum
Home : General : Perl Programming :

Passing values from a cgi to another cgi

Quote Reply
Passing values from a cgi to another cgi
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
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.

Last edited by:

Lotz: Jun 22, 2003, 1:38 PM
Subject Author Views Date
Thread Passing values from a cgi to another cgi Lotz 8535 Jun 22, 2003, 1:24 PM
Thread Re: [Lotz] Passing values from a cgi to another cgi
tandat 8364 Jun 22, 2003, 7:07 PM
Thread Re: [tandat] Passing values from a cgi to another cgi
Lotz 8365 Jun 23, 2003, 4:01 AM
Thread Re: [Lotz] Passing values from a cgi to another cgi
tandat 8346 Jun 23, 2003, 6:44 PM
Thread Re: [tandat] Passing values from a cgi to another cgi
Lotz 8332 Jun 26, 2003, 1:14 PM
Thread Re: [Lotz] Passing values from a cgi to another cgi
tandat 8322 Jun 26, 2003, 6:51 PM
Thread Re: [tandat] Passing values from a cgi to another cgi
Paul 8343 Jun 27, 2003, 3:06 AM
Thread Re: [Paul] Passing values from a cgi to another cgi
Lotz 8295 Jun 27, 2003, 1:59 PM
Post Re: [Lotz] Passing values from a cgi to another cgi
dan 8271 Jun 27, 2003, 2:13 PM