Gregory Hill wrote: > No, that is just normal URL encoding %5b%5d is [], indicating that the > argument should be treated as an array. I know that many systems will > also create an array from the argument name if it simply passed more > than once in the argument list. I.E. > secondlist=1,secondlist=2,secondlist=3 would create the array secondlist > = [1,2,3]. But secondlist[]=1,secondlist[]=2,secondlist[]=3 is the > correct way to tell the server that secondlist = [1,2,3].
Ummm... I'm not sure if this is the "correct way". It may be the normal way for some languages/frameworks (PHP?), but it's not standard. Java, C and Perl (just a few off the top of my head) don't do it that the square-bracket way. -- Michael Peters Developer Plus Three, LP _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs