phpMyVisites is changing into Piwik

Piwik is the next generation of phpMyVisites and aims to be an open source alternative to Google Analytics.

Try the online demo, download Piwik or find out more!




    

FAQ


FAQ : Installation
How do I integrate phpMyVisites with phpCAS (connection securization with the CAS system)?
To protect the access to the phpMyVisites statistics with CAS (http://tp.its.yale.edu/tiki), which is a Single Sign On used in many universities, you must have the phpCAS library installed (http://esup-phpcas.sourceforge.net/). In the ./index.php file, you must add the code below after the comment that says "// si protection de toutes les stats && si pas de session enregistrée"
   include_once('CAS/CAS.php');
   phpCAS::client(CAS_VERSION_2_0,'adresse.serveur.cas',port_cas,'dossier_cas');
   phpCAS::authenticateIfNeeded();
   switch (phpCAS::getUser())
   {
      case 'login1':
      case 'login2':
      case 'login3':
      case 'login4':
      case 'login5':
         break;
      default:
         die("Accès refusé");
   }
login1, login2, etc., are the identifiers of the users who are allowed to view the statistics. Please note that you must configure phpMyVisites with public access to the statistics in order to by-pass the internal authentification procedure. The only access handled by phpMyVisites is the access to the admin account.
Back to FAQ