Work:Get the Remote Clients IP

From Zoelife4U Wiki
Jump to: navigation, search

Synopsis

Sometimes we have clients who would like to connect to their databases hosted on our server from pages hosted on a competitors hosting. These other hosts usually mask their clients IP with a dummy IP, and mask the actual server's physical address. Since we need the physical server address whitelisted in our firewall, here's a script install this on the other host's web directory and name it myip.php and then whitelist the IP this script returns:

The Code

Personal tools
Online Users
Zoelife4U: