August 2008 Archives

Finding Your IP Address

| 0 Comments
Your IP Address is: 38.107.191.119

Being on the Internet sometimes requires knowing my IP address. There are many ways to track it down, but here is an easy way to pull just that information using PHP. This information and others are usually sent every time I visit a Web site. This is one way of retrieving a portion of that data.

The above script uses the following PHP code which works with version 4 and above.
<?php
print $_SERVER['REMOTE_ADDR'];
?>

Google Links

OpenID accepted here Learn more about OpenID

Google Links