i'm having with the $REMOTE_ADDR variable.. it always returns a {NULL} whenever i check it..

basically what i'm trying to do is log the IP's of the users that post stuff on forums..

i'm using PHPDEV423 from Firepages.au as my PHP bundle with all configurations to default..

thanks..

    thanks.. that worked.. i'm now useing the gethostbyaddr() function.. it got me wondering though, what type of variable is $REMOTE_ADDR? perhaps not of type string yah?

    thanks again..

      Hmm.. to my knowledge is a global.. But then im not sure.. I didnt read the manual for that...

      $_SERVER[] something there for that may help you get there ip address but i forgot what exactly is needed for the []

        Write a Reply...