ma tha (isset ($ _SERVER ['HTTP_X_FORWARDED_FOR'])) {$ http_x_headers = explode (',', $ _SERVER ['HTTP_X_FORWARDED_FOR']); $ _SERVER ['REMOTE_ADDR'] = $ http_x_headers [0]; }