For something like that, you'd pretty much have to submit it as a POST, but I assume the OP is already using POST rather than GET. You can then set
to make the size limit more-or-less whatever you want. AFAIK, CGI only limits the total size of the POSTed request and you can split that up however you want across as many or few parameters as you like.