Apophis171

Untitled

May 5th, 2021
778
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   function error($string){
  2.     $this->_errDesc = mysqli_error($this->_conId);
  3.     $this->_errNo = mysqli_errno($this->_conId);
  4.     $this->_message=
  5.        "Datenbank Fehler: $msg<br />\n"
  6.       ."<b>Mysql-Error:</b>{$this->_errNo} <br />\n&nbsp;&raquo; {$this->_errDesc}<br />\n"
  7.       ."<b>Datum:</b> ".date("d.m.Y")." um ".date("H:i")."<br />\n"
  8.       ."<b>Script:</b> ".getenv("REQUEST_URI")."<br />\n"
  9.       ."<b>Referer:</b> ".getenv("HTTP_REFERER")."<br />\n";
  10.     if(($this->showError) && ($this->_errNo <> 0)){
  11.       print "<p>{$this->_message}</p>";
  12.     }
  13.     die("");
  14.   }
  15.  
RAW Paste Data