source: trunk/error.php

Last change on this file was 4, checked in by chronos, 8 years ago
  • Fixed: Use table prefix from Database class.
  • Property svn:executable set to *
File size: 585 bytes
Line 
1<?php
2
3include('global.php');
4
5$Database->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"]));
Note: See TracBrowser for help on using the repository browser.