How to display a users IP Address using php

Here is another quick post for you. This comes up pretty often and is a simple task to do using php. here is a snipet of code that will display a viewers IP address to them. You can build on it from here.

echo “Your IP Address is: ” . $ip;


Tags: , , , , , ,

No comments yet.

Leave a Reply