Using: <?php echo "<pre>"; print_r($_SERVER); echo "</pre>"; ?> give me: => 10.10.10.1 => 48447 => 10.10.10.50 => 80 => www.url.com but my ip, don't 10.10.10.20, is 198.xxxby editorweb - How to...
hello. I have a similar problem I'm using a recognition function to IP. My server works with nginx, fast-cgi, php5, in which there are multiple virtual servers. function ip give me the ip of the virtual server ip: 10.10.10.1 and not the client. I think the problem is that is not properly configured fast-cgi: fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORTby editorweb - How to...
![]() |
![]() |
![]() |
![]() |
|