Site Usage Statistics

From T2B Wiki
Jump to navigation Jump to search

Getting statistics about the site usage

PageOutline


Running the script

The page is located at : http://ldap01.iihe.ac.be/formallin/formallin/files/Test1.php?lang=en

Editing the script

To edit the script, first go to http://ldap01.iihe.ac.be/formallin/admin.php?page=listForm

Then select the script you want to edit (in this case Test1.php. Make all the necessary modifications and click on "generate the php file" Now, the script has been altered and will not work any more. To make it workable, A few changes need top be applied. Go to ldap01, open the file /var/www/html/formallin/formallin/files/Test1.php

  • Add as very first line:
<?php ob_start() ?>
<?php include 'Check.php'; ?>
  • search for : $m->Send(); and comment this line out (put // in front of it)
  • just after this line, put:
$checking= new Check();
$checking->analyse($_POST,$tabGroupeElementsLabel);
  • Optional: Go to the end of the document, and on the line above </body>, put:
<?php //ob_flush();} ?>



Template:TracNotice