*/
error_reporting(0); # Disabled error reporting for production server.
#error_reporting(E_ALL); uncomment if running on development server.
if(isset($_POST['md5-input'])) { # checking if md5-input is set to $_POST.
$md5 = md5($_POST['md5-input']); # placing md5 function into $md5 variable.
if ($md5 == 'd41d8cd98f00b204e9800998ecf8427e') { # Preventing user from generating blank md5.
$error = 'Error!';
}
}
error_reporting(0); # Disabled error reporting for production server.
#error_reporting(E_ALL); uncomment if running on development server.
if(isset($_POST['md5-input'])) { # checking if md5-input is set to $_POST.
$md5 = md5($_POST['md5-input']); # placing md5 function into $md5 variable.
if ($md5 == 'd41d8cd98f00b204e9800998ecf8427e') { # Preventing user from generating blank md5.
$error = 'Error!';
}
}