From Guest, 2 Years ago, written in HTML5.
This paste is a reply to Simple IP Logger PHP from Sagar - go back
Embed
Viewing differences between Simple IP Logger PHP and 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>";
?>

Replies to Re: Simple IP Logger PHP rss

Title Name Language When
Re: Re: Simple IP Logger PHP Guest html5 2 Years ago.