debugging rsvp-submit.php
This commit is contained in:
1 parent
e3b5bb01ad
commit
7ac460bb1c
1 file changed
+5
-2
@@ -193,9 +193,12 @@ EOD;
|
|||||||
|
|
||||||
$mail->Body = $body;
|
$mail->Body = $body;
|
||||||
|
|
||||||
$mail->send();
|
file_put_contents(
|
||||||
|
__DIR__ . '/debug.txt',
|
||||||
|
print_r($_POST, true)
|
||||||
|
);
|
||||||
|
|
||||||
header('Location: /thank-you/');
|
echo "PHP WORKS";
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|||||||
Reference in new issue
Block a user