>"James Hatridge" <James.Hatridge@xxxxxxxx> wrote in message news:200406211551.15155.James.Hatridge@xxxxxxxxxxx >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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php