Quote:
Originally Posted by Kafka
tip for Paxum:
ini_set('display_errors','0');
register_shutdown_function('fatalError');
function fatalError()
{
$last_error = error_get_last();
if ($last_error['type'] === E_ERROR){
echo "There was an error.";
exit;
}
}
|
Yeah, showing error details is a security risk.