[code]<?php
<?php
function getIP() {
if (isset($_SERVER)) {
if (isset($_SERVER[\'HTTP_X_FORWARDED_FOR\'])) {
return $_SERVER[\'HTTP_X_FORWARDED_FOR\'];
} else {
return $_SERVER[\'REMOTE_ADDR\'];
}
} else {
if (isset($GLOBALS[\'HTTP_SERVER_VARS\'][\'HTTP_X_FORWARDER_FOR\'])) {
return $GLOBALS[\'HTTP_SERVER_VARS\'][\'HTTP_X_FORWARDED_FOR\'];
} else {
return $GLOBALS[\'HTTP_SERVER_VARS\'][\'REMOTE_ADDR\'];
}
}
}
?>
?>[/code]
you might be able to use that for the \"Online Users\" so the admins can see the \"true\" ip of a user <img src=\'http://www.killanet.net/forum3/public/s ... iggrin.gif\' class=\'bbc_emoticon\' alt=\':D\' /> just an idea
us3rX <img src=\'http://www.killanet.net/forum3/public/s ... /ph34r.gif\' class=\'bbc_emoticon\' alt=\':ph34r:\' />
Oh Scotty ^.^
Moderators: Moderator, Global Moderator
Oh Scotty ^.^
[align=center]

"Time is never wasted, when your wasted all the time" ~ Radio Dj/Unknown Source
"Death is the inevitable end to the suffering of the living." ~Unknown
"You were born an original. Don't die a copy" ~Murdoc Niccals
[/align]

"Time is never wasted, when your wasted all the time" ~ Radio Dj/Unknown Source
"Death is the inevitable end to the suffering of the living." ~Unknown
"You were born an original. Don't die a copy" ~Murdoc Niccals
[/align]
Oh Scotty ^.^
Like the ones hiding on a proxy <img src=\'http://www.killanet.net/forum3/public/s ... igwink.gif\' class=\'bbc_emoticon\' alt=\';)\' />

[color=\"#41211C\"]It takes years to build up trust and only seconds to destroy it
[/color]
Oh Scotty ^.^
like on the admin online user list... how it displays the user name(ip) that script will make their true ip show, so incase they are behind a proxy?
us3rX <img src=\'http://www.killanet.net/forum3/public/s ... /ph34r.gif\' class=\'bbc_emoticon\' alt=\':ph34r:\' />
us3rX <img src=\'http://www.killanet.net/forum3/public/s ... /ph34r.gif\' class=\'bbc_emoticon\' alt=\':ph34r:\' />
[align=center]

"Time is never wasted, when your wasted all the time" ~ Radio Dj/Unknown Source
"Death is the inevitable end to the suffering of the living." ~Unknown
"You were born an original. Don't die a copy" ~Murdoc Niccals
[/align]

"Time is never wasted, when your wasted all the time" ~ Radio Dj/Unknown Source
"Death is the inevitable end to the suffering of the living." ~Unknown
"You were born an original. Don't die a copy" ~Murdoc Niccals
[/align]
Oh Scotty ^.^
Eek, that would work - except ipb has a session db instead of the $_SESSION array, which would mean editing numerous files which would break the forum. <img src=\'http://www.killanet.net/forum3/public/s ... rts_kr.gif\' class=\'bbc_emoticon\' alt=\'(ow)\' /> You might find a invision mod for something like this - could give that a try.

