Difference between REMOTE_HOST and REMOTE_ADDR

后端 未结 4 1704
谎友^
谎友^ 2020-12-05 13:08

What is the difference between these two variables?

REMOTE_HOST and REMOTE_ADDR.

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-05 13:17

    Remote: is a computer that resides in some distant location from which data retrieved it typically refer to a server in a private network or the public internet.

    Remote_ host will return the REMOTE_ ADDR Or the IP address instead .

提交回复
热议问题