Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12231

nginx comparing length of variables in config files

$
0
0

I need to compare the length of variables, for example,

if ( strlen($query_string) < 16 ) {      return 301;}

I could find nginx documentation on string and other comparison but could not find about the length of the content. Any help will be appreciated.


Viewing all articles
Browse latest Browse all 12231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>