mirror of https://github.com/ThunixdotNet/www.git
fixing form submit url
This commit is contained in:
parent
86749cca7a
commit
b2f91d5c72
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue