Share

SourceForge.net

Tracker: Support Requests

5 'REMOTE_ADDR' not working - ID: 2611502
Last Update: Comment added ( moorman )

$_SERVER['REMOTE_ADDR' ] is returning value 127.0.0.1 always.
I used it in my guest book to log users. It worked earlier. But after the
sourceforge server upgrade its always returning the loopback address.


Cyril ( cyril2net ) - 2009-02-18 05:19

5

Closed

None

Service Operations Group

Project Web Services

None

Public


Comment ( 1 )

Date: 2009-02-18 13:38
Sender: moormanSourceForge.net SubscriberSourceForge.net Site Admin

Use $_SERVER["HTTP_X_REMOTE_ADDR"]


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2009-02-18 13:38 moorman
allow_comments 1 2009-02-18 13:38 moorman
close_date - 2009-02-18 13:38 moorman
assigned_to nobody 2009-02-18 13:27 moorman