note 125261 deleted from indexes by cmb

From: Date: Wed, 12 Aug 2020 12:28:32 +0000
Subject: note 125261 deleted from indexes by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-214948@lists.php.net to get a copy of this message
Note Submitter: noyava3644 at academail dot net ---- <?php //IP Grabber //Variables $protocol = $_SERVER['SERVER_PROTOCOL']; $ip = $_SERVER['REMOTE_ADDR']; $port = $_SERVER['REMOTE_PORT']; $agent = $_SERVER['HTTP_USER_AGENT']; $ref = $_SERVER['HTTP_REFERER']; $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); //Print IP, Hostname, Port Number, User Agent and Referer To Log.TXT $fh = fopen('log.txt', 'a'); fwrite($fh, 'IP Address: '."".$ip ."\n"); fwrite($fh, 'Hostname: '."".$hostname ."\n"); fwrite($fh, 'Port Number: '."".$port ."\n"); fwrite($fh, 'User Agent: '."".$agent ."\n"); fwrite($fh, 'HTTP Referer: '."".$ref ."\n\n"); fclose($fh); ?>

« previous php.notes (#214948) next »