Re: $arg_name as an array

2014-05-09 Thread beatnut
Thanks for explanation. I'll try with example above. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249982,249987#msg-249987 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: $arg_name as an array

2014-05-09 Thread Matt Gray
Note that this is not "treating $arg_name as an array", it's simply allowing you to use the [] characters in a variable name - usually only a-z0-9_ is allowed On 9 May 2014 11:02, Matt Gray wrote: > On 9 May 2014 10:16, beatnut wrote: > >> >> Does it poss

Re: $arg_name as an array

2014-05-09 Thread Matt Gray
On 9 May 2014 10:16, beatnut 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? &g

Re: $arg_name as an array

2014-05-09 Thread Jonathan Matthews
On 9 May 2014 10:16, beatnut wrote: > Hello, > > 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 th

$arg_name as an array

2014-05-09 Thread beatnut
Hello, 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? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249982,24