![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
![](https://lstatic.shangxueba.com/sxbzda/pc/images/home_logo.png)
![获取客户端的IP用下列哪条语句?()](https://img2.soutiyun.com/shangxueba/askcard/2023-03/21/322/20230321193134912.jpg)
[主观题]
获取客户端的IP用下列哪条语句?()
A.request.servervariables("REMOTE_HOST")
B.request.servervariables("LOCAL_ADDR")
C.request.servervariables("REMOTE_ADDR")
D.request.servervariables("SERVER_PORT")
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
A.request.servervariables("REMOTE_HOST")
B.request.servervariables("LOCAL_ADDR")
C.request.servervariables("REMOTE_ADDR")
D.request.servervariables("SERVER_PORT")
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!