php script to show visitors IP

 

Create a .php file

 

# vi  showip.php

 

<h1>My Ip Address</h1><hr> <br><br> Your Ip Address is: <strong><?php echo $_SERVER[‘REMOTE_ADDR’]; ?></strong><br><br>

 

Close the file and  done

RESULT

http://admin2.mweb.com.na/showip.php

 

 

It's only fair to share...Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInEmail this to someone
Twitter Auto Publish Powered By : XYZScripts.com