> Hello > > I have been given this form: > > But I want to use my own form so that when user clicks submit button a > perl script will run which then decides which attribute values to send to > the "https://www.company1.com/cgi-bin/webscr" program. Eg I want to be > able to send item_number = value obtained when user clicks subm it. >
Let me see if I understand correctly: You want to interpose a program you write, so that in place of goign direct to Paypal, they send the request to your server, where you massage it in some nefarious way, and then forward the massaged data to Paypal on their behalf? Why not just put the data you want into the original form? > Is this possible? Will the program (or whatever it is) webscr just > behave any differently if passed by a perl script as by this form above? > What perl code would send the equivalent information to the webscr cgi > program? It is, in theory, possible -- LWP can be built with HTTPS support - so the first step would be to write a script to simulate a user posting the Paypal form. > Basically any pointers as to how I achieve this would be most helpful. The shortest path would really be to "put the correct data in the form before the users posts" -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Lawrence Statton - [EMAIL PROTECTED] s/aba/c/g Computer software consists of only two components: ones and zeros, in roughly equal proportions. All that is required is to sort them into the correct order. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>