fixing form submit url

This commit is contained in:
Ubergeek committed 2019-07-13 11:13:32 -04:00
1 parent 86749cca7a
commit b2f91d5c72
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -19,16 +19,16 @@ Message: $message";
if ( $tv != "tildeverse" ) {
print "Spam attempt";
header("Location: $site_root/success1");
header("Location: $site_root/?page=success1");
die();
}
shell_exec("echo $mailbody | /usr/bin/mail -s 'New User Registration' $destination_addr ");
shell_exec("echo '$mailbody' | /usr/bin/mail -s 'New User Registration' $destination_addr ");
// In the future, here, we *should* be able to build a process that
// somehow auto-verifies the user, and instead of email, it'll kick off the new user process here
header("Location: $site_root/success2");
header("Location: $site_root/?page=success2");
die()
?>
+3 -3
View File
@@ -19,16 +19,16 @@ Pubkey: $pubkey";
if ( $tv != "tildeverse" ) {
print "Spam attempt";
header("Location: $site_root/success1");
header("Location: $site_root/?page=success1");
die();
}
shell_exec("echo $mailbody | /usr/bin/mail -s 'New User Registration' $destination_addr ");
shell_exec("echo '$mailbody' | /usr/bin/mail -s 'New User Registration' $destination_addr ");
// In the future, here, we *should* be able to build a process that
// somehow auto-verifies the user, and instead of email, it'll kick off the new user process here
header("Location: $site_root/success2");
header("Location: $site_root/?page=success2");
die();