2009-04-24 14:14:48 +00:00
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
require_once 'log.php';
|
|
|
|
|
|
|
|
|
|
define('GRAYDON_LOGFILE',PATH_LOGS.'graydon-requetes.log');
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Enregistre chaque appel de m<EFBFBD>thode graydon
|
|
|
|
|
*
|
|
|
|
|
* @param string $login
|
|
|
|
|
* Login de l'utilisateur
|
|
|
|
|
* @param string $page
|
|
|
|
|
* Nom de la page
|
|
|
|
|
* @param string $requete
|
|
|
|
|
* Requ<EFBFBD>te Graydon effectu<EFBFBD>
|
|
|
|
|
* @param string $transactionIdentifier
|
|
|
|
|
* Identifiant de transaction Graydon
|
|
|
|
|
* @param string $sessionIdentifier
|
|
|
|
|
* Identifiant de session Graydon
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
function graydonRequeteLog($login, $page, $requete, $transactionIdentifier, $sessionIdentifier){
|
|
|
|
|
$tabData = array( "Date" => date('Y/m/d H:i:s'),
|
|
|
|
|
"Login" => $login,
|
|
|
|
|
"Page" => $page,
|
|
|
|
|
"Requete" => $requete,
|
|
|
|
|
"TransactionIdentifier" => $transactionIdentifier,
|
|
|
|
|
"SessionIdentifier" => $sessionIdentifier,
|
2009-05-07 14:31:44 +00:00
|
|
|
|
);
|
2009-04-24 14:14:48 +00:00
|
|
|
|
writeLog(GRAYDON_LOGFILE, $tabData, ';');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|