Skip to content

Commit

Permalink
email form post ssl: t03, add to DB @ local time
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrturner committed Feb 27, 2024
1 parent 5cb05a4 commit 8cd699c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/templates/z_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@
</section>
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {

date_default_timezone_set('Australia/Perth');

$name = ($_POST["name"]);
$pronouns = ($_POST["pronouns"]);
$phone = ($_POST["phone"]);
$email = ($_POST["email"]);
$text = ($_POST["text"]);
$submitted_at = date('Y-m-d H:i:s');

// Database connection parameters
Expand Down

0 comments on commit 8cd699c

Please sign in to comment.