Check your IP Address

Posted by EM MAJ_COM On Saturday, September 08, 2012
To check your Public IP Address, simply visit http://www.netstumble.com/ipaddress website. You will see a result something like:

Your Public IP Address:

64.64.xxx.xxx

This is a PHP $_SERVER global variables available to most Linux web server. To write a code to discover your public IP address is simple, this is an example.

<?php echo $_SERVER['REMOTE_ADDR'] ?>

Cut and paste this code, save as ipaddress.php, and upload this to your web hosting.

To know more about PHP $_SERVER, please visit http://php.net/manual/en/reserved.variables.server.php

Related Posts :



0 Response to "Check your IP Address"

Post a Comment

First things first: Connect through one of the following social media tools below:
Enter your email address:
Subscribe to KING.NET by Email http://www.twitter.com/kingnet
http://www.randompage.com/profile/king
Moscom.com Web Hosting 24x7 Phone Support. The ultimate in performance, control, and convenience.

Get a Free Bitcoin

NeedName.com - Domain Name Registration and DNS Management.
Breeder.co - All about Pets.
Pet By OWner.
Moscom.com Web Hosting, SSL, Email, DomainName, and Dedicated Server.
For Ad Campaign, please send email to Support[@]Whaddya.com. Thank you.