Hi, on my webpage i have a guestbook, and i have this code:
so it outputs as:PHP Code:<?php
function ip() {
$ip = split('[.]', $_SERVER['REMOTE_ADDR']);
echo 'IP: '.$ip[0].'.'.$ip[1].'.x.x';
}
?>
123.456.x.x ( not revealing the whole i.p),
but my problem is that it only shows your ip on every post!, an i was wondering how would show the indivual user ip's, thanks for any help i get.


),
Reply With Quote

Bookmarks