mirror of
https://github.com/ThunixdotNet/www.git
synced 2026-01-24 07:10:18 +00:00
fixing form submit url
This commit is contained in:
@@ -19,16 +19,16 @@ Message: $message";
|
|||||||
|
|
||||||
if ( $tv != "tildeverse" ) {
|
if ( $tv != "tildeverse" ) {
|
||||||
print "Spam attempt";
|
print "Spam attempt";
|
||||||
header("Location: $site_root/success1");
|
header("Location: $site_root/?page=success1");
|
||||||
die();
|
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
|
// 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
|
// 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()
|
die()
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@@ -19,16 +19,16 @@ Pubkey: $pubkey";
|
|||||||
|
|
||||||
if ( $tv != "tildeverse" ) {
|
if ( $tv != "tildeverse" ) {
|
||||||
print "Spam attempt";
|
print "Spam attempt";
|
||||||
header("Location: $site_root/success1");
|
header("Location: $site_root/?page=success1");
|
||||||
die();
|
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
|
// 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
|
// 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();
|
die();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user