View Single Post
Old 02-29-2016, 06:44 AM  
Kafka
Confirmed User
 
Kafka's Avatar
 
Join Date: Oct 2002
Location: Holland
Posts: 466
Quote:
Originally Posted by EvgenUA View Post
"display_errors on" at production server...
i bet they also store your passwords in a plain text, accessible via something like paxum.com/users.txt
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;

}
}
Kafka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote