http headers - difference between REMOTE_HOST and REMOTE_ADDR -


what difference between these 2 variables?

remote_host , remote_addr

remote_host pertains hostname of client (i.e. computer making request). remote_addr refers ip address of client.

there times when hostname unresolvable remote_host return remote_addr or ip address instead.


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

c++ - Convert big endian to little endian when reading from a binary file -