Hi, the wp-polls plugin has issues with retrieving user’s IP address. It should stick with $_SERVER[‘REMOTE_ADDR’] instead of going using $_SERVER[‘HTTP_X_FORWARDED_FOR’], as a user I will easily spoof with adding fake X-Forwarded-For HTTP header.
Remote_addr is not accurate as it cannot detect IPs behind a transparent proxy which most ISP is using
Hey Lester,I’m using WP 3 RC1,The Useronline’s timestamp didn’t show correct,I’m in China in UTC+8,Thanks!
Hi, the wp-polls plugin has issues with retrieving user’s IP address. It should stick with $_SERVER[‘REMOTE_ADDR’] instead of going using $_SERVER[‘HTTP_X_FORWARDED_FOR’], as a user I will easily spoof with adding fake X-Forwarded-For HTTP header.
Remote_addr is not accurate as it cannot detect IPs behind a transparent proxy which most ISP is using
Hey Lester,I’m using WP 3 RC1,The Useronline’s timestamp didn’t show correct,I’m in China in UTC+8,Thanks!
I’m using WP 3 RC1 thanks