How do i get the IP f a user?
Moderator: General Moderators
-
iceangel89
- Forum Commoner
- Posts: 39
- Joined: Mon Jul 02, 2007 7:02 pm
How do i get the IP f a user?
How do i get the IP f a user? and maybe country info? like USA, Singapore etc
You can't reliably get the ip address.
$_SERVER['REMOTE_ADDR'] will give you it, if it is available. You can find the other information using geoip databases or services.
$_SERVER['REMOTE_ADDR'] will give you it, if it is available. You can find the other information using geoip databases or services.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.