Posted By

merrittwjm on 03/31/11


Tagged

php ip address


Versions (?)

PHP ip address getter


 / Published in: PHP
 

  1. <?
  2.  
  3. $ip=@$REMOTE_ADDR;
  4. echo "<b>IP Address= $ip</b>";
  5.  
  6. ?>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: nbegiter on March 31, 2011

And how exactly does this get the IP adress? It doesn't, not without prior, related code anyway. I'm guessing this is a personal snippet that should not be published.

You need to login to post a comment.