Created
February 20, 2014 20:29
-
-
Save pavelbinar/9122550 to your computer and use it in GitHub Desktop.
detect IP addres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$ip = getenv('REMOTE_ADDR'); //~ get ip address | |
$ip = "&ip=".$ip."&"; //~ make it a flashable variable | |
echo $ip; //~ spit it out | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment