acoolguy37
06-12-2004, 07:32 PM
How do you show the IP of a user, like they do on www.whatismyip.com?
-Kevin
Silmaril8n
06-12-2004, 08:01 PM
Well you could do it with a Server Side Include using Apache to do it. Or, you could also do it using PHP's environment variables.
Here's how to do it using PHP:
<?php echo $_SERVER["REMOTE_ADDR"]; ?>
acoolguy37
06-12-2004, 09:12 PM
So, I just insert that into my page?
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.