07.04.2013, 22:48
Код:
<?php $P_IP = $_SERVER['REMOTE_ADDR']; $P_UA = $_SERVER['HTTP_USER_AGENT']; $Script = $_SERVER['PHP_SELF']; echo $P_IP, $P_UA, $Script; ?>
$P_UA will be the users browser details
$Script would be the information about the PHP file.