The custom header idea suggested by Anonymous_Monk (and elaborated slightly differently by tobyink using the User-Agent header) is a pretty good idea, but it does have the downside of requiring an extra HTTP request. And it seems kludgey to do an HTTP request to figure out something that I should be able to determine from my OS. Still, I might try this approach if I cannot find a reasonable way to get the information from the OS.
In reply to Re^4: How can I determine whether a URI, hostname or IP address is to the local host machine?
by dbooth
in thread How can I determine whether a URI, hostname or IP address is to the local host machine?
by dbooth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |