$_SERVER['REMOTE_ADDR'] always return gateway ip address

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dEaMOn
Forum Newbie
Posts: 4
Joined: Wed Nov 19, 2008 3:49 am

$_SERVER['REMOTE_ADDR'] always return gateway ip address

Post by dEaMOn »

Hi alls,

I would like to get client ip address but the command $_SERVER['REMOTE_ADDR'] always return server gateway ip address.
How to solved this problem?

Thanks in advance,
Post Reply