in reply to Re^2: Post Email address as CGI Parameter
in thread Post Email address as CGI Parameter
Where do you dump the vars, in register.cgi or in the script accessing the URL? Could you provide some sample code that reproduces the problem? I know what I mean. Why don't you?
Taking a guess based on the information you've provided so far: are you perhaps looking for URI?
use URI; my $uri=URI->new("http://somedomain.com/cgi/register.cgi"); $uri->query_form(login=>"somelogin", id=>12345, email=>'foo@bar.com'); print "$uri\n"; __END__ http://somedomain.com/cgi/register.cgi?login=somelogin&id=12345&email= +foo%40bar.com
How to send a redirect with CGI is in its documentation, with sample code ("Generating a Redirection Header"). If you do that, take care not to print out a regular header() as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Post Email address as CGI Parameter
by doubledecker (Scribe) on Jan 07, 2015 at 05:44 UTC | |
by Anonymous Monk on Jan 07, 2015 at 08:52 UTC | |
by soonix (Chancellor) on Jan 07, 2015 at 09:03 UTC |