Hi,
jo, mache ich doch genauso:
<?
require_once "dbfunctions.inc";
if ($_REQUEST["r"] != "none" && gethostbyaddr($_SERVER["REMOTE_ADDR"]) != "aspinsider.de" && !stristr("SPENG",$_SERVER["HTTP_USER_AGENT"]))
$log = db_query("INSERT INTO sitelog SET wann='" . date("Y-m-d H:i:s",time()) . "', wer_host='" . gethostbyaddr($_SERVER["REMOTE_ADDR"]) . "', wer_ip='{$_SERVER["REMOTE_ADDR"]}', wie='{$_SERVER["HTTP_USER_AGENT"]}', woher='{$_REQUEST["r"]}\n{$_SERVER["HTTP_REFERER"]}'");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
...
Der Yeti
--
Habe nun, ach! WInfo, BWL, und Mathe, Und leider auch Info!
Durchaus studiert, mit heißem Bemühn. Da steh' ich nun, ich armer Thor!
Und bin so klug als wie zuvor!
sh:( fo:| ch:? rl:? br: n4:& ie:( mo:| va:| de:[ zu:) fl:| ss:) ls:< js:|
http://community.de.selfhtml.org/fanprojekte/selfcode.htm
Habe nun, ach! WInfo, BWL, und Mathe, Und leider auch Info!
Durchaus studiert, mit heißem Bemühn. Da steh' ich nun, ich armer Thor!
Und bin so klug als wie zuvor!
sh:( fo:| ch:? rl:? br: n4:& ie:( mo:| va:| de:[ zu:) fl:| ss:) ls:< js:|
http://community.de.selfhtml.org/fanprojekte/selfcode.htm