<?php
/*
+--------------------------------------------------------------------------
| D4WStatsLittle v1.1.2 - Developers4Web Web Stats Software
| ==========================================================
| by Developers4Web.com
| D4WStatsLittle is a Trade Mark of Developers4Web
| Copyright Developers4Web 2005 - 2006. All rights reserved.
| English:
| http://stats-service.developers4web.com
| Español:
| http://www.developers4web.com
| ========================================
| optimized by Trio Solutions
| Dreamweaver Extensions and Web Development Components
| English:
| http://components.developers4web.com
| Español:
| http://componentes.developers4web.com
| ========================================
| Web: http://www.d4wstats.com
| Date: Tuesday, February 20, 2006
| Email: info (at) developers4web (dot) com
| License Type: D4WSTATSLITTLE is NOT Open Source Software and Limitations Apply
| Licence Info: /d4wstatslittle/license.txt
+--------------------------------------------------------------------------
*/
?>
<?php
error_reporting(7);
//header("Cache-Control: no-store, no-cache, must-revalidate");
//header("Pragma: no-cache");
define('DATABASE_PATH', SERVER_PATH);
$tablename = "today_".date("Ymd");
function readDatabase($dbname)
{
$filename = DATABASE_PATH.$dbname;
if (file_exists($filename))
{
$fd = fopen ($filename, "r");
$contents = unserialize(fread ($fd, filesize ($filename)));
fclose ($fd);
}
else
$contents = array();
return $contents;
}
?>