PHP Tutorial : How to show visitor’s IP address

Hi,
In this “php tutorial” I will teach you guys how to show your users their IP address with only one line of code.

<?php

print "YOUR IP ADDRESS IS : $_SERVER[REMOTE_ADDR]";
?>
This entry was posted in Usefull PHP and tagged , , , , . Bookmark the permalink.

2 Responses to PHP Tutorial : How to show visitor’s IP address

  1. Thanks for the tip… haven’t been watching the wires and didn’t realize my blog was using nofollow–pretty silly since I approve all comments anyway. “DoFollow” installed.

  2. Eymoney Blog says:

    A SUPPORTED BY THE DEVELOPER TOOLS? It was interesting. You seem very knowledgeable in ypour field.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>