Results 1 to 2 of 2
Thread: Users IP addresses?
Jun 17, 2010, 06:03 #1
Users IP addresses?
I am trying to track IP addresses of users for a clients website! I know php has some built in functions to get the IP from the server, but am concern how trustworthy the results will be!
How much can you rely on these built in functions and which are the most reliable? Also how easy is it for a user to spoof their IP address and are there any methods to stop this?
Any help would be much appreciated!
Jun 17, 2010, 06:37 #2
- Join Date
- Oct 2002
- 2 Post(s)
- 0 Thread(s)
Pretty much anything which is served by HTTP headers can be spoofed.
$_SERVER["REMOTE_ADDR"] gets you the IP address.Ian Anderson