Welcome! Log In Create A New Profile

Advanced

Как сложить 2 переменных ?

January 17, 2013 04:32PM
  location ~ ^/test {
   set $a 1;
   set $b 1;
   set $c $a+$b;
    return 200 $c;

результат 1+1. А как показать сумму 2 переменных ?


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

Как сложить 2 переменных ?

Bdfy January 17, 2013 04:32PM

Re: Как сложить 2 переменных ?

Михаил Монашёв January 17, 2013 05:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready