Viewing file: config.inc.php (1.07 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* ----------------------------------------------*/
/* PNG Counter 1.0 (PHP) */
/* Copyright (c)2001 Chi Kien Uong */
/* URL: http://www.proxy2.de */
/* ----------------------------------------------*/
/* Use Database(mysql) or files to store counting */
/* execute this in your database space before using pngcounter
CREATE TABLE counter (
page varchar(30) NOT NULL default '',
count bigint(20) NOT NULL default '0',
PRIMARY KEY (page),
KEY fichero (page)
) TYPE=MyISAM;
*/
$CFG['db'] = false; /* if false ignore 4 following fields */
$CFG['dbhost'] = "localhost"; /* host:port */
$CFG['dbuser'] = "admin_ambiente";
$CFG['dbpasswd'] = "carlos_neira";
$CFG['dbname'] = "sda";
/* How many digits to show? */
$CFG['pad'] = 5;
/* Check HTTP_REFERER? */
$CFG['referer_check'] = false;
$VALID = array(
"http://192.168.10.3", "192.168.10.2"
);
/* Block reloading? */
$CFG['block_ip'] = true;
$CFG['lock_timeout'] = 10; // minutes
?>
|