Example:
- Router has 192.168.0.1
- Machine has 192.168.0.5*
- ipconfig /all shows machine as 192.168.0.5
- Intranet uses PHP and uses the following to ID machines connecting to it and 192.168.0.5 connects to the site for whatever reason;
Code: Select all
<?php $sIP = $_SERVER['REMOTE_ADDR']; echo $sIP; ?>
* Obviously, whether this is statically assigned or DHCP is irrelevant.
I know the above is a stupid example, but it's the only one that popped into my head (not had enough coffee yet)