Welcome! Log In Create A New Profile

Advanced

Getting CSV file values as nginx variable

Roman Vasilyev
June 02, 2011 05:32PM
Hi,

I need to get values of CSV files in my project:
John Malkovich,Person,123 Mulholland Drive,.......
to have in config something like:
csv_path /path/to/csv/dir;
csv_key $arg_id;

uwsgi_param USER_NAME $csv_1;

what's the best way for it?

I've checked Array Var module by agentzh
( https://github.com/agentzh/array-var-nginx-module )
looks like it realizes similar task.
May be I'm looking in wrong direction and answer closer?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Getting CSV file values as nginx variable

Roman Vasilyev June 02, 2011 05:32PM

Re: Getting CSV file values as nginx variable

agentzh June 04, 2011 11:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 149
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready