Welcome! Log In Create A New Profile

Advanced

how store settings of dynamic locations in database?

Posted by makky 
how store settings of dynamic locations in database?
September 10, 2013 11:45AM
Hello!

I have php-app. It is generate links.
I want every link had different limits. But i have many links and dont want make reload every time (app can generate 10 links per minute). I see store locations in database.

How do it?

PS: Sorry, my english... )
Re: how store settings of dynamic locations in database?
September 12, 2013 06:08AM
Hello, please describe more your problem, I am unable to understand where is the problem. If you generate links via PHP so then write it in database.
Or build 1 link with multiple args and in nginx if($arg_LIMIT1) { .... } if($arg_LIMIT2) { .... } and in php build link like .php?LIMIT1=hehe&LIMIT2=hmm and so on, you can parse all args from URI to NGINX conf and in NGINX conf you can use proxy_pass to pass back these args into some url.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
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