Yahoo France a search engine that is objectively what you are looking for Bing and Yahoo a constructive alliance Firefox web browser with an experiece over ten years! fast and really secure for you.
Yahoo et Bing, search engines relevant and objective !
Firefox, to browse the web safely !

Accueil Admin

Statistics, audience website

How to insert php code in your pages

AllMystats login to your site and click on "Admin"
The 1st code is automatically calculated based on your installation and should in most cases. You just have to copy / paste the code below on your Web pages.

Don't forget to put a name different page for each of your webpages
Exemple: $nom_page='Accueil - Index'; - $nom_page='Formulaire de contact'; - etc ..

Do not copy the code shown below, this is one example.

AllMyStats - Statistics - insert code AllMyStats - Statistics - insert code AllMyStats - Statistics - insert code

Insertion code in the pages

For the visits are counted you in every page your site put a code.

If the pages on your site are in PHP

The code with the path (path) calculated is available in the "Admin" once AllMyStats installed.

PHP Code to insert:
$Racine_abs = str_replace($_SERVER['PHP_SELF'],"",$_SERVER['SCRIPT_FILENAME']);
$nom_page='nom de la page';
require $Racine_abs.'/path/allmystats/visiteur.php';

$nom_page is the name of the page, you can put the name you want for each page.
$nom_page = 'home page';

path is the path to access the directory allmystats
If the directory allmystats is the root of the site:
require $Racine_abs. 'allmystats/visiteur.php';
If the directory allmystats is in the directory stats site:
require $Racine_abs. 'stats/allmystats/visiteur.php';

To be sure that pages have been recorded views fully, it is preferable to put the code at the bottom of page

If the pages on your site are in html or htm

1st solution (best):
If you provide your host allows, add these two lines to the file .htaccess if it already exists if not create it.
AddType application / x-httpd-php. Html
AddType application / x-httpd-php. Htm

The HTML pages and htm will be treated as if they were PHP.
Then put the PHP code in each page of your site with tags <?php at the beginning and ?> at the end.

2nd solution:
Note: referring and keywords will not be counted.
Code simple:
<img src="path/allmystats/visiteur.php?nom_page=nom_de_la_page" width=0 height=0>
Note: path is the path on to access the directory allmystats