From 0e9d6299afcb086e90acabd3b45a9b640d9c3b33 Mon Sep 17 00:00:00 2001 From: Peter Hoppe Date: Fri, 10 Feb 2023 01:43:36 +0100 Subject: [PATCH] error display --- php/php-dog/wantNewPw.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/php/php-dog/wantNewPw.php b/php/php-dog/wantNewPw.php index c933a42..4111279 100644 --- a/php/php-dog/wantNewPw.php +++ b/php/php-dog/wantNewPw.php @@ -3,6 +3,10 @@ use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; +// error_reporting(E_ALL); +// ini_set("display_errors", 1); + + header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Headers: access"); header("Access-Control-Allow-Methods: POST");