$_SERVER["REMOTE_ADDR"] 

If the user have a proxy the real IP is:
$_SERVER["HTTP_X_FORWARDED_FOR"] 

have fun
thomas
  ----- Original Message ----- 
  From: John 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, April 03, 2003 1:26 AM
  Subject: [PHP] $_SERVER[REMOTE_ADDR]


  Makes me think...... what exactly the $_SERVER[REMOTE_ADDR] is doing....????

  Cause it does not really show the actual IP address instead IP address
  within its range....

  e.g. 66.87.25.122
  output 66.87.25.2

  any idea how to get their actual IP add and if possible the name of their
  computer....

  Also, is it also possible to get or trace the IP add?

  many thanks,
  John



  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php


  ------------------------------------------------------------------------
  http://felicitari.mymail.ro/

Reply via email to