date('Y/m/d H:i:s'), "Login" => $login, "Page" => $page, "Requete" => $requete, "TransactionIdentifier" => $transactionIdentifier, "SessionIdentifier" => $sessionIdentifier, ); writeLog(GRAYDON_LOGFILE, $tabData, ';'); } function graydonDbLog($login, $action, $requete, $transactionIdentifier, $sessionIdentifier){ $log = new Requetelog(); $log->login = $_SESSION['tabInfo']['login']; $log->action = 'placeOrder'; $log->request = serialize($request); $log->transactionIdentifier = $transactionIdentifier; $log->sessionID = $sessionID; $log->mode = $mode; $log->save(); } ?>