From lius, 3 Years ago, written in JavaScript.
This paste is a reply to Re: Simple IP Logger PHP from Guest - go back
Embed
Viewing differences between Re: Simple IP Logger PHP and Re: Re: Simple IP Logger PHP
<?php
// Do make a visitors.html file and set permission to 0777

$ip = $_SERVER['REMOTE_ADDR'];
$browser = $_SERVER['HTTP_USER_AGENT'];
$dateTime = date('Y/m/d G:i:s');
$file = "visitors.html";
$file = fopen($file, "a");
$data = "<pre><b>User IP</b>: $ip <b> Browser</b>: $browser <br>on Time : $dateTime <br></pre>";
fwrite($file, $data);
fclose($file);
echo "<h1>Hi n0.0b :)</h1>";
?>
U2FsdGVkX1+guV8UpzF7qgp73Azi+a7tsIaigFgj/ba+SfD3bIA7NKmu91b62E6mBIz5PcE/RnfXKYkqXNB0mJlMXZGNRhNITYp3
BLHBl50eNLn+d12wTfmcsIwKvFyjmn2jXaYOVMxWwXTzZnof3baulFWvoIma8EUiy1BnwF0ZrgwLUux8b9Z0MasMgCKFyG8ApPz5
rjvKPqxyOmiDymjOPjgOuq8km7SYKW03AdWoNiRtEC8an46g/cSRKcTNMUnYdIM6gNRyb8gBc9qgKBKxGCd1p3bnUFmgP5qSZ2Yu
AwqFPMkoKI82Fa/Uus0Lz7/njmSNmmCWsgpEaUMgf3bimxRqm1IPbHuyKI1BssCvmNbms7Djvk1uiylbIP7pHiurxFoVFevezQAN
WCMPO3Mk3AKvaFlJZKRLZ75wAOl9hzADNJu1nM6ZN3BU+RxAh9vDrNNWLUPZivdYQOmEW4dNcZxBfja31D11Ov4SJ4vp3fo72qir
43RhmgAyMYwamhPUPDwWo8xM/DZRV/y0kDIjhuoRilnGllEMfGaMfkX/imhAleHKhYj2a2H9pQzBEZtKupyWZNbtxO/lB8xhWs7Q
rDqhPacj1bAH0YQw+Qg=