Your Ad Here

Posted By

Push on 07/20/11


Tagged

php ip address ip-address


Versions (?)

Get user IP Address with PHP


 / Published in: PHP
 

  1. <?php
  2.  
  3. $ip = $_SERVER['REMOTE_ADDR'];
  4. echo "Your IP address is $ip";
  5.  
  6. ?>

Report this snippet  

You need to login to post a comment.