
It requires support for PHP and MySQL
License: GENERAL GNU PUBLIC LICENSE (GPL)
This script is based on the Referers System of PHPLibre.com
It shows last referers of our page. Referers are sites that send us visits, this information keeps in the variable $_SERVER['HTTP_REFERER'] reason why it is possible knowledge who links our site.
In order to know which are more effective counts the number of users arrived from each page that link us.
In addition it guards the visits that GoogleBot realizes to our site. [?] more info
Installation:
Edit file config.php.
<?
//archivo de configuracion
//area de administracion
$admin = "admin";
$password = "pass";
//configuracion de la base de datos
$host = "localhost";
$user = "dbuser";
$pass = "dbpass";
$bd = "dbname";
$conecta = mysql_connect($host, $user, $pass)
or die("No se ha podido conectar con el servidor MySQL. Inténtalo mas tarde.");
mysql_select_db($bd, $conecta);
$n = 10; // numero de referers que mostramos
$l = 50; // maximo numero de caracteres a mostrar del referer
?>
You will find the following variables that you will have to config:
$admin = "admin"; Administrator of SeoMaker Stats. By defect it´s admin
$password = "pass"; Administrator´s password. By defect it´s pass.
$user = "dbuser"; Data base user. By defect it´s dbuser.
$pass = "dbpass"; Password of the data base user. By defect it´s dbpass.
$bd = "dbname"; Data base name where SQL tables will keep.
$n = 10; Indicates the number of the last referers that we will show.
$l = 50; It is the maximum number of characters to showing of the referer.
Next you will have to create SQL tables in your data base. You only must go to administration section of your data base server and generate the querys introducing the file tablas.sql.
Finally you will have to include the file guardar.php in your pages
to keep visits.
Example: <? include("seomaker_stats/guardar.php"); ?>
You will have to change the pages extension in which you have include
the previous code.
Example: index.html -> index.php
For enter the administration panel go to file admin.php and introduces the administrator´s name and password. You will view the stats in the file seomaker_stats.php
Participo en SeoMaker, con el número: 0037