<?
// Session handling is required.
session_start();
include("detect.class.php");
$sniff = new detection();
// Parameter settings / config
$dbtype = "mysql";
$dbhost = "localhost";
$dbuname = "user";
$dbpass = "password";
$dbname = "db";
$useBrowscap = 0;
$adodbInc = 0;
$sniff->start($useBrowscap,$dbtype,$dbhost,$dbuname,$dbpass,$dbname,$adodbInc);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Any page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Any webpage, but I have it on just the index.<br>
Your standard page content.<br>
<br>
<a href="sample_traffic_summary.php?">View Traffic</a>
</body>
</html>
|