Hey,
I have a problem, $_SERVER['REMOTE_ADDR']; return not user IP but server(hosting) ip.
I have Plesk 12.5 php 5.6.
Where could be the problem?
PS: I know, I can use $_SERVER['HTTP_X_FORWARDED_FOR'] , but php framework use REMOTE_ADDR
I have a problem, $_SERVER['REMOTE_ADDR']; return not user IP but server(hosting) ip.
I have Plesk 12.5 php 5.6.
Where could be the problem?
PS: I know, I can use $_SERVER['HTTP_X_FORWARDED_FOR'] , but php framework use REMOTE_ADDR