參考 : 如何正確的取得使用者 IP?
HTTP_CLIENT_IP HTTP_X_FORWARDED_FOR HTTP_X_FORWARDED HTTP_X_CLUSTER_CLIENT_IP HTTP_FORWARDED_FOR HTTP_FORWARDED REMOTE_ADDR (真實 IP 或是 Proxy IP) HTTP_VIA (參考經過的 Proxy)
- 不能單一信任其中一種
- 過濾並記錄,以後追蹤
參考 : 如何正確的取得使用者 IP?
HTTP_CLIENT_IP HTTP_X_FORWARDED_FOR HTTP_X_FORWARDED HTTP_X_CLUSTER_CLIENT_IP HTTP_FORWARDED_FOR HTTP_FORWARDED REMOTE_ADDR (真實 IP 或是 Proxy IP) HTTP_VIA (參考經過的 Proxy)
留言