Problem with php

Status
Not open for further replies.
Messages
2
Reaction score
0
Points
0
Hi.

I beleave there is a problem on php system.
My website has a php script that records the visitors ip addresses in the database but today it is not working.

When I visit the website, the ip is recorded as blank, nothing appears in the ip field.
Then, I visit the website from another computer (different ip) and the ip address is recorded but, instead of appearing the ip of the current computer, it is appearing the ip of the previous computer. I'm a newbie at php programming but I'm prety sure that this problem is from the server side.

I'm using this to get the ip's: $_SERVER['REMOTE_ADDR']


I hope you solve this problem soon.
Regards
 
Status
Not open for further replies.
Top