source: www/jirihajda/error_logging.php@ 5

Last change on this file since 5 was 1, checked in by george, 17 years ago
  • Property svn:executable set to *
File size: 566 bytes
Line 
1<?
2
3include('db.php');
4
5DB_Insert('app_errors', array('time' => $_GET['Èas'], 'message' => $_GET['Text_chyby'], 'exception' => $_GET['Tøída_vyjímky'],
6'address' => $_GET['Adresa'], 'application' => $_GET['Aplikace'], 'state' => $_GET['Statové informace'],
7'version' => $_GET['Verze'], 'release_date' => $_GET['Datum_vydání'], 'unit' => $_GET['Jednotka'],
8'line_number' => $_GET['Øádek'], 'method' => $_GET['Metoda'], 'remote_addr' => $_SERVER["REMOTE_ADDR"],
9'remote_host' => gethostbyaddr($_SERVER["REMOTE_ADDR"]), 'url' => $_SERVER["REQUEST_URI"]));
10
11?>
Note: See TracBrowser for help on using the repository browser.