$server = "unixserver.qvc-online.de"; $user = "root"; $password = ""; $database = "webaccess"; $host = gethostbyaddr($REMOTE_ADDR); $ident = $HTTP_USER_AGENT; $datum = Date("d.m.Y"); $zeit = DATE("H:i:s"); $fromurl = $HTTP_REFERER; mysql_connect($server, $user, $password); mysql_db_query($database, "INSERT INTO indexhtml VALUES ('', '$host', '$ident', '$datum', '$zeit', '$fromurl')"); ?>