Click to See Complete Forum and Search --> : Retrive IP or name from client...


mf22cs
06-05-2003, 04:30 PM
Hi,

it me again.

I´m trying to develop a guestbook... yes, there is probably a free one just to download from anywhere... but wanna learn something too... :)

Well, to be able to trace a user that send SPAM to the guestlist I wanna log the users dynamic or static IP-number.

Is that possible?
/Marcus

mf22cs
06-05-2003, 04:37 PM
PHP_SERVER["REMOTE_ADDR"]
PHP_SERVER["REMOTE_HOST"]

Think I found it just after I asked...

/marcus

mf22cs
06-05-2003, 04:42 PM
Sorry... that should be:

$_SERVER["REMOTE_ADDR"]
$_SERVER["REMOTE_HOST"]

of course. :o

/Marcus