getting ip address using PHP in case you are running VPN

admx

New Member
I am using VPN, and thus if i check http://whatismyip.com it will give me different ip than \[code\]$_SERVER['REMOTE_ADDR']\[/code\] or \[code\]getenv('REMOTE_ADDR')\[/code\].whatismyip gives my original ip address while \[code\]$_SERVER\[/code\] or \[code\]getenv\[/code\] gives my VPN ip address !!is there anyway to get my original address ip using php in case that i am running VPN?and is there any way to get the PROXY IP address using PHP if i am using proxy also?Thanks
 
Back
Top