function reportError( $err, $sql ) { mail( "*****@*****.**", "ERROR PROCESSING ORDER", "$err $sql " . requestDetail(), "From: pp_ipn.php@themaxx.com" ); }
function logBadRequest() { mail( "*****@*****.**", "[" . $_SERVER["REMOTE_ADDR"] . "] - contact form abuse", "[" . $_SERVER["REMOTE_ADDR"] . "] - contact form abuse\n\n" . requestDetail(), "From: themaxx.com contact form" ); }