Re: Getting a remote IP address
| From: | Hans Spath | Date: | Sat, 01 Jun 2002 20:36:50 +0000 |
| Subject: | Re: Getting a remote IP address | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-84670@lists.php.net to get a copy of this message | ||
At 01.06.2002 21:44 +0200, Vergoz Michael wrote:
please to not ask this question on this list. print($REMOTE_ADDR);Bad idea, won't work with register_globals=off. Instead do it this way: echo $_SERVER['REMOTE_ADDR']; or echo $HTTP_SERVER_VARS['REMOTE_ADDR']; regards, Hans Spath