PHPee.com PHP development forum
all they have problem with ...

 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger bug reports
View previous topic :: View next topic  
Author Message
Nosferatu



Joined: 02 May 2004
Posts: 14
Location: Österreich/BGLD

PostPosted: Wed May 05, 2004 4:25 pm    Post subject: all they have problem with ... Reply with quote
Hallo,
all they have problem with

$REMOTE_HOST

gethostbyaddr

can change this code in pphlogger.php

old code:
Code:

*if (($hostname > '') && ($hostname!=$ip)) {
         $tld = strtolower(substr(strrchr($hostname, '.'), 1));
      } else {
         $tld = '';
      }


new code:
Code:

if(isset($HTTP_ACCEPT_LANGUAGE))
                {
                $tld = strtolower(substr(strrchr($HTTP_ACCEPT_LANGUAGE, '-'), 1));         
                }
                else
                {
                $tld = '';
                }


i had this problem
_________________
http://www.pj-firepower.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger bug reports All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB
Theme design based on Team 101 Designs, modified by Philip Iezzi