$REMOTE_ADDR = $_SERVER["REMOTE_ADDR"]; //$HTTP_REFERER = $_SERVER["HTTP_REFERER"]; $HTTP_USER_AGENT = $_SERVER["HTTP_USER_AGENT"]; $HTTP_ACCEPT_LANGUAGE = $_SERVER["HTTP_ACCEPT_LANGUAGE"]; $SERVER_NAME = $_SERVER["SERVER_NAME"]; $HTTP_USER_AGENT = $_SERVER["HTTP_USER_AGENT"]; //$HTTP_REFERER = $_SERVER["HTTP_REFERER"]; $HTTP_ACCEPT_LANGUAGE = $_SERVER["HTTP_ACCEPT_LANGUAGE"]; $REQUEST_URI = $_SERVER["REQUEST_URI"]; $SERVER_SOFTWARE = $_SERVER["SERVER_SOFTWARE"]; $PHP_SELF = $_SERVER["PHP_SELF"]; //$PHPSESSID = $_REQUEST["PHPSESSID"]; $URL_ADDRESS = "http://".$SERVER_NAME.$PHP_SELF; $SCRIPT_ADDRESS = basename($URL_ADDRESS); //$PIC_ADDRESS = ereg_replace($SCRIPT_ADDRESS, "", $URL_ADDRESS); $SCRIPT_NAME = $_SERVER["SCRIPT_NAME"]; //$SCRIPT_CL_NAME = ereg_replace("/", "", $SCRIPT_NAME); //$SERVER_NAME_NO_WWW = ereg_replace("www.", "", $SERVER_NAME); $time_epoch = time(); $today = date("Y.m.d H:i:s"); $time = date("d/m H:i"); $today_data = date("H:i:s d.m.Y"); $host_data = gethostbyaddr($REMOTE_ADDR); $remote_data = $REMOTE_ADDR; $REMOTE_ADDR = $_SERVER["REMOTE_ADDR"]; //$HTTP_REFERER = $_SERVER["HTTP_REFERER"]; $HTTP_USER_AGENT = $_SERVER["HTTP_USER_AGENT"]; $HTTP_ACCEPT_LANGUAGE = $_SERVER["HTTP_ACCEPT_LANGUAGE"]; $SERVER_NAME = $_SERVER["SERVER_NAME"]; //$lg = $_GET["lg"]; //$co = $_GET["co"]; $today_mail = date("r"); $host_mail = gethostbyaddr($REMOTE_ADDR); $remote_mail = $REMOTE_ADDR; $sending = $today_mail.", ".$host_mail.", ".$remote_mail; @mail("access@architecture.se", $host_mail." - ".$remote_mail, $sending); /* MySQL */ $cas = date("Y-m-d H:i:s"); $remote_ip = $REMOTE_ADDR; $host_name = gethostbyaddr($REMOTE_ADDR); $remote_name = strtolower($host_name); //$IP = Explode (",", $HTTP_X_FORWARDED_FOR); $proxy = @gethostbyaddr($IP[0]); $proxy = strtolower($proxy); //$referer = $HTTP_REFERER; $agent = strtolower($HTTP_USER_AGENT); $lang = strtolower($HTTP_ACCEPT_LANGUAGE); ?>
architecture & design |