php: geting ip addres
Posted
by Syom
on Stack Overflow
See other posts from Stack Overflow
or by Syom
Published on 2010-04-14T14:43:08Z
Indexed on
2010/04/14
14:53 UTC
Read the original article
Hit count: 300
php
i want to get an ip addres of visitors.
could you tell me what element of $_SERVER[]
i should use?
$_SERVER['HTTP_CLIENT_IP'];
$_SERVER['HTTP_X_FORWARDED_FOR'];
or
$_SERVER['REMOTE_ADDR'];
thanks
© Stack Overflow or respective owner