[GTALUG] Sending array variable over CGI ?

William Park opengeometry at yahoo.ca
Sat May 12 17:48:25 EDT 2018


Hi all,

If I'm sending single valued data over web, eg. a=111, b=222, c=333,
then I can do 
    http://.../xxx.cgi?a=111&b=222&c=333

How do I send array data, like A[1]=111, A[2]=222, A[3]=333 to a CGI
script?  I don't think I can do something like
    http://.../xxx.cgi?A[1]=111&A[2]=222&A[3]=333
Or, can I?

I have seen a same variable repeated,
    http://.../xxx.cgi?A=111&A=222&A=333
but that means the CGI script has to build the array.
-- 
William Park <opengeometry at yahoo.ca>


More information about the talk mailing list