使用 Request.ServerVariables 來抓取 IP
HTTP request 來源 IP: Request.ServerVariables("REMOTE_ADDR") = 18.227.52.248
HTTP request 伺服器 IP: Request.ServerVariables("LOCAL_ADDR") = 140.112.91.63
HTTP request 代理伺服器: Request.ServerVariables("HTTP_VIA") =
HTTP request 原始來源 IP: Request.ServerVariables("HTTP_X_FORWARDED_FOR") =
View source:
[Server-side script]
[Client-side script (ctrl+u)]
回到「JScript 程式設計與應用:伺服器端」