Hi.
Sorry to disturb you but I don't
understand why with this code I get a
Fatal error: Exception thrown without a stack frame in Unknown on line 0
PHP Code:
function exception_handler($ex) {
    
$msg"<p style=\"padding:50px; border: solid 1px #FF0000; font-family: monospace; \">";
      
$msg .= "<b>Error :</b>".$ex->getMessage()."<br />";
     
$msg .=  "<b>Code :</b>".$ex->getCode()."<br />";
     
$msg .=  "<b>File :</b>".$ex->getFile()."<br />";
      
$msg .=  "<b>Line :</b>".$ex->getLine()."<br /><br />";
     
$msg .=  nl2br($ex->getTraceAsString())."</p>";
      
error_log($msg1'admin@mysite.it');
    
error_log($msg3'index.log');
    
redirect('onError.php');
  }
set_exception_handler('exception_handler'
I only get the error with this line
(if I get rid of it the function works well):
error_log($msg, 1, 'admin@mysite.it');

Bye.