Welcome! Log In Create A New Profile

Advanced

GET query string parameter access in C module

Posted by tonyc00 
GET query string parameter access in C module
July 12, 2012 01:32AM
What is the best way to access the query string parameters in my own C module? So far I have not been able to find a definitive answer. I have found tons of references regarding $arg_PARAMETER access in the config file, but I want to access to them in my own module instead. I have read that the core module does it already, so should I be using the function ngx_http_get_variable, or is there a better or easier way?

Thank you
Re: GET query string parameter access in C module
April 04, 2014 07:42PM
Trying to figure this out myself. So far I've run across this which is the best I've found so far:

http://www.nginx-discovery.com/2011/03/day-39-get-parameters-from-your-module.html
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 341
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready