Changeset 3 for trunk/error_logging.php
- Timestamp:
- Jul 27, 2016, 8:36:02 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/error_logging.php
r1 r3 1 1 <?php 2 2 3 include(' db.php');3 include('global.php'); 4 4 5 DB_Insert('app_errors', array('time' => $_GET['Èas'], 'message' => $_GET['Text_chyby'], 'exception' => $_GET['Tøída_vyjímky'],5 $Database->insert($DB_Prefix.'app_errors', array('time' => $_GET['Čas'], 'message' => $_GET['Text_chyby'], 'exception' => $_GET['Třída_vyjímky'], 6 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"],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 9 'remote_host' => gethostbyaddr($_SERVER["REMOTE_ADDR"]), 'url' => $_SERVER["REQUEST_URI"])); 10 10 11 ?>
Note:
See TracChangeset
for help on using the changeset viewer.