$arg_name as an array

Matt Gray matt.gray at 7digital.com
Fri May 9 10:02:16 UTC 2014

On 9 May 2014 10:16, beatnut <nginx-forum at nginx.us> wrote:

> Does it possible to use $arg_name as an array?
> For example
> I've query string : ?opt[test]=1
> I'd like to get value od opt[test] but $arg_opt[test] doesn't work.
> Is there special syntax for that case?

This thread might be of interest: http://forum.nginx.org/read.php?11,241016

I haven't tested it but it suggests that the syntax ${arg_opt[test]} might
do what you require.


This email, including attachments, is private and confidential. If you have 
received this email in error please notify the sender and delete it from 
your system. Emails are not secure and may contain viruses. No liability 
can be accepted for viruses that might be transferred by this email or any 
attachment. Any unauthorised copying of this message or unauthorised 
distribution and publication of the information contained herein are 

7digital Limited. Registered office: 69 Wilson Street, London EC2A 2BB.
Registered in England and Wales. Registered No. 04843573.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140509/5838df27/attachment.html>

More information about the nginx mailing list