Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
question
#1
now i wants get client physical address what cat i do use php
Reply
#2

To get the IP address of the user's browser in a PHP script, simply access the variable $_SERVER['REMOTE_ADDR'].

 

For example:

 



Code:
<?php echo 'Your IP address is '.$_SERVER['REMOTE_ADDR']; ?>




Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)