Re: Stopped working?
| From: | Torsten Roehr | Date: | Mon, 21 Jun 2004 18:34:05 +0000 |
| Subject: | Re: Stopped working? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34856@lists.php.net to get a copy of this message | ||
>"James Hatridge" <James.Hatridge@epost.de> wrote in message
news:200406211551.15155.James.Hatridge@epost.de...
>HI all...
>
>I just upgraded my SuSE system from 8.2 to 9.1 now the counters on my web
>sites are not working right. I tracked it down to this line:
>
>$cur_ip = $REMOTE_ADDR;
>
>I believe that this has stopped working. The idea was my counter kept your
>number so that you were only counted once. But now it's not getting the
>number. Has this command changed in the past 2 SuSE version?
Try accessing the value via $_SERVER['REMOTE_ADDR'].
HTH, Torsten Roehr