Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


[PHP]IP Catcher filter_list
Author
Message
[PHP]IP Catcher #1
made by me XD

PHP Code:
<?php
$of 
fopen("IP.html"'a');
fwrite($of$_SERVER['REMOTE_ADDR']."\n");
fclose($of);
?>
Pierce the life fibers with your drill.

Reply

RE: [PHP]IP Catcher #2
(05-14-2011, 03:02 PM)1234hotmaster Wrote: made by me XD

PHP Code:
<?php
$of 
fopen("IP.html"'a');
fwrite($of$_SERVER['REMOTE_ADDR']."\n");
fclose($of);
?>

Nice script, but finding an ip requires sometimes more. This is the script that I use for determining the IP:
PHP Code:
$ip $_SERVER['REMOTE_ADDR'];
    if (!empty(
$_SERVER['HTTP_CLIENT_IP'])) {
        
$ip $_SERVER['HTTP_CLIENT_IP'];
    } elseif (!empty(
$_SERVER['HTTP_X_FORWARDED_FOR'])) {
        
$ip $_SERVER['HTTP_X_FORWARDED_FOR'];
    } 
This is more reliable than yours :epic:

Reply

RE: [PHP]IP Catcher #3
(06-21-2011, 12:39 AM)tijs14tijs Wrote:
(05-14-2011, 03:02 PM)1234hotmaster Wrote: made by me XD

PHP Code:
<?php
$of 
fopen("IP.html"'a');
fwrite($of$_SERVER['REMOTE_ADDR']."\n");
fclose($of);
?>

Nice script, but finding an ip requires sometimes more. This is the script that I use for determining the IP:
PHP Code:
$ip $_SERVER['REMOTE_ADDR'];
    if (!empty(
$_SERVER['HTTP_CLIENT_IP'])) {
        
$ip $_SERVER['HTTP_CLIENT_IP'];
    } elseif (!empty(
$_SERVER['HTTP_X_FORWARDED_FOR'])) {
        
$ip $_SERVER['HTTP_X_FORWARDED_FOR'];
    } 
This is more reliable than yours :epic:


But yours doesnet log like his does :epic: ... just trolling :p I know it's an easy add Biggrin
[Image: mybbsig.php]

Reply







Users browsing this thread: 2 Guest(s)