how to forward an array to another cgi?

R

robertchen117

I have a CGI, and generate one array, I want to display in another
page, how to forward the array to another cgi?

Thanks.
 
G

Guest

I have a CGI, and generate one array, I want to display in another
page, how to forward the array to another cgi?

Thanks.

You can store the array in a session using CGI::Session, or you can POST
the array to the other cgi script.
 
R

robertchen117

Yes, I just do not know how to POST the array value to the other CGI.
I need an example. Thanks.

You can store the array in a session using CGI::Session, or you can POST
the array to the other cgi script.

Yes, I just do not know how to POST the array value to the other CGI.
I need an example. Thanks.
 
G

Guest

Yes, I just do not know how to POST the array value to the other CGI.
I need an example. Thanks.

Read the perl documentation for the LWP cookbook:

perldoc lwpcook

Get an overview of all of the perl documentation available on your system:

perldoc perl
 
S

Sherm Pendley

Yes, I just do not know how to POST the array value to the other CGI.
I need an example. Thanks.

Please don't top-post.
Yes, I just do not know how to POST the array value to the other CGI.
I need an example. Thanks.

Have a look at the LWP::UserAgent module. The specific form element you'll
want to post, and how the array elements are arranged to fit those form
elements, will depend entirely on what the target CGI expects to receive.

sherm--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
sxarexu

Latest Threads

Top