Hacker News new | ask | show | jobs
by eli 5988 days ago
Or just paste this in a .php file:

<?php print $_SERVER['REMOTE_ADDR']; ?>

Then you've got the IP address without any frills.