Update php submit form 20 years or so for possible use.

This commit is contained in:
Wookey
2025-02-10 00:25:31 +00:00
parent 02f9f5677a
commit 8b2df6b006

View File

@@ -433,7 +433,7 @@ echo <<<END
else { else {
echo "<li>The transport page does not show your arrangements correctly.<br>"; echo "<li>The transport page does not show your arrangements correctly.<br>";
echo "The corrected version is: "; echo "The corrected version is: ";
echo nl2br($vars[transport_info]); * echo nl2br($vars[transport_info]);
} }
echo "</ul>"; echo "</ul>";
@@ -465,7 +465,8 @@ END;
function updateDatabase () function updateDatabase ()
{ {
global $vars; global $vars;
$leadermail = "wookey-test@wookware.org";
$adminmail = "wookey@wookware.org";
$temp = ""; $temp = "";
$address1 = rtrim(ereg_replace(",,", ",", ereg_replace("(\r\n|\n|\r)", ", ", $vars["address"])), " \t\n\r\0\x0b.,"); $address1 = rtrim(ereg_replace(",,", ",", ereg_replace("(\r\n|\n|\r)", ", ", $vars["address"])), " \t\n\r\0\x0b.,");
@@ -519,7 +520,7 @@ function updateDatabase ()
$temp = $temp . "Other information: $vars[extra_info]\n"; $temp = $temp . "Other information: $vars[extra_info]\n";
mail ("Wookey <wookey@wookware.org>\n", mail ("Expo Leader <",$leadermail">,\n",
"Expo form from $vars[name]", $temp, "Expo form from $vars[name]", $temp,
"From: Expo forms <expo@wookware.org>\n"); "From: Expo forms <expo@wookware.org>\n");