Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class test_class{ private $err ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function some_method(){ $this ->clear_err(); if (some_err){ $this ->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->clear_err(); $this ->some_method(); if ( $this ->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->is_err()!== false ){ die ( $test_instance ->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML class error_class{ private $err = false ; public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } } class test_class{ public $err ; public function __construct(){ $this ->err = new error_class(); } public function some_method(){ $this ->err->clear_err(); if (some_err){ $this ->err->set_err( $msg = 'Some error appear.' ); return false ; } return true ; } public function complex_method(){ $this ->err->clear_err(); $this ->some_method(); if ( $this ->err->is_err()!== false ){ return false ; } return true ; } } define( 'some_err' , true ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ die ( $test_instance ->err->is_err()); } die ( 'No error appear.' );
Copy Source | Copy HTML require_once ( "error_class.php" );
Copy Source | Copy HTML require_once ( "error_class.php" );
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; public function __construct( $callback =null){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); } } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } } }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML define( 'some_err' , true ); $err = new error_class( "err_overwork" ); $test_instance = new test_class; $test_instance ->complex_method(); if ( $test_instance ->err->is_err()!== false ){ $err ->fire_err( $test_instance ->err->is_err(),- 1 ); } function err_overwork( $error ){ die ( ": " . $error ->getMessage(). "<br/>: " . $error ->getFile(). "<br/>: " . $error ->getLine()); }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err = false ; private $exception_handler = false ; private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback !=null){ $this ->exception_handler= true ; set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0, $errno , $errfile , $errline ); return true ; } public function set_err( $msg = '' ){ $this ->err= $msg ; } public function clear_err(){ $this ->err= false ; } public function is_err(){ return $this ->err; } public function fire_err( $msg = '' , $code =0){ $this ->err= $msg ; throw new Exception ( $msg , $code ); } public function __destruct(){ if ( $this ->exception_handler){ restore_exception_handler(); } if ( $this ->err_redirect){ restore_error_handler(); } } }
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); require_once ( "error_class.php" ); require_once ( "mail_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ $err ->fire_err( " " ,- 1 ); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ $err ->fire_err( " " ,- 1 ); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); if (! $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ])))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->to( " « »" , "raven@nightfolk.net" )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->from(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->subj( ' ' )){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->reply_to(addslashes( $_POST [ 'email' ]))){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } if (! $mailer ->send()){ $err ->fire_err( $mailer ->err->is_err(),- 1 ); } header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Now you can assign a handler in one line:
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML class error_class{ private $err_handler = false ; public function __construct( $callback =null, $err_redirect = true , $level =E_ALL){ if ( $callback ==null){ throw new Exception ( " callback ." ,E_ERROR); } set_exception_handler( $callback ); if ( $err_redirect ){ $this ->err_handler = true ; set_error_handler( array ( "error_class" , "redirect_err" ), $level ); } } public function redirect_err( $errno , $errstr , $errfile , $errline , $errcontext ){ throw new ErrorException ( $errstr , 0 , $errno , $errfile , $errline ); return true ; } public function __destruct(){ restore_exception_handler(); if ( $this ->err_handler){ restore_error_handler(); } } }
Copy Source | Copy HTML new error_class( 'err_overwork' ); function err_overwork( $error ){ }
Copy Source | Copy HTML new error_class( 'err_overwork' ); function err_overwork( $error ){ }
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Copy Source | Copy HTML <?php session_start(); header( "content-type: text/html; charset=utf-8" ); require_once ( "mail_class.php" ); require_once ( "error_class.php" ); $err = new error_class( "err_overwork" ); if ( ! isset ( $_POST [ 'email' ])|| ! isset ( $_POST [ 'message' ])|| ! isset ( $_POST [ 'captcha' ]) ){ throw new Exception ( " " ,E_ERROR); } if ( $_SESSION [ 'captcha' ]!= $_POST [ 'captcha' ]){ throw new Exception ( " " ,E_ERROR); } else { unset ( $_SESSION [ 'captcha' ]); } $mailer = new mail_class(); $mailer ->text(addslashes(htmlspecialchars( $_POST [ 'message' ]))); $mailer ->to( " « »" , "raven@nightfolk.net" ); $mailer ->from(addslashes( $_POST [ 'email' ])); $mailer ->subj( ' ' ); $mailer ->reply_to(addslashes( $_POST [ 'email' ])); $mailer ->send(); header( "location:../confirm.html" ); die (); function err_overwork( $error ){ $_SESSION [ 'error_message' ]= $error ->getMessage(); header( "location:../error.php" ); die (); } ?>
Source: https://habr.com/ru/post/56416/
All Articles