Hi all,
I have an application that takes some data from the user via a html POST form.
Depending on the contents, the data should be processed and then the user should be presented a new page (again, a POST form with some more data), or a different form on a different (secure) server should be submitted with the data from the first form, and the user should be able to continue using the site on the secure server.
I have no problem doing the first, or even doing the second for a GET form, but I cannot do it on a POST form.
I tried to create a LWP::UserAgent and then do a request on that, to a POST form, but I get the output of the form on the non-secure server, which is definitely NOT what I want.
Any good ideas anyone?
Sorry for my bad english, and thanks in advance
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.