|
reSIProcate/repro
9694
|
Go to the source code of this file.
Variables | |
| $error = "" | |
| $username = $_POST['username'] | |
| $password = $_POST['password'] | |
| $password2 = $_POST['password2'] | |
| $fullname = $_POST['fullname'] | |
| $domain = $_POST['domain'] | |
| $email = $_POST['email'] | |
| $email2 = $_POST['email2'] | |
| $userkey = $_POST['userkey'] | |
| $keyvalue = $_POST['keyvalue'] | |
| if(empty($username)) if(empty($password)) if(empty($password2)) if(empty($fullname)) if(empty($email)) if(empty($email2)) if($password!=$password2) if($email!=$email2) if(md5($userkey)!=$keyvalue) if(usernameInUse($username)=="Y") if(!empty($error)) | $activationCode = md5(microtime() . $username) |
| $encryptedPassword = createPassword($username,$password) | |
| if(!createAccount($username, $encryptedPassword, $fullname, $domain, $email, $activationCode)) | $defaultAOR = $username . '@' . $domain |
| if(!createResource($username, $defaultAOR,'N','','')) | $link = "/activateaccount.php?user=$username&code=$activationCode" |
| $subject = "$provider Activation Notice" | |
| $message | |
| $headers = "\r\n" | |
| if (!mail($email, $subject, $message, $headers)) | |
| we have sent an email with an activation link to the address you provided in the signup process</p >< p > Please read that message and click the link | provided |
| we have sent an email with an activation link to the address you provided in the signup process</p >< p > Please read that message and click the link or follow the instructions in the email for manual activiation</p >< hr/> < p > Since I don t send out messages As a | result |
| if (empty($username)) if (empty($password)) if (empty($password2)) if (empty($fullname)) if (empty($email)) if (empty($email2)) if ($password!=$password2) if ($email!=$email2) if (md5($userkey)!=$keyvalue) if (usernameInUse($username)=="Y") if (!empty($error)) $activationCode = md5(microtime() . $username) |
Definition at line 73 of file emailactivationnotice.php.
| if (!createAccount($username, $encryptedPassword, $fullname, $domain, $email, $activationCode)) $defaultAOR = $username . '@' . $domain |
Definition at line 88 of file emailactivationnotice.php.
| $domain = $_POST['domain'] |
Definition at line 20 of file emailactivationnotice.php.
| $email = $_POST['email'] |
Definition at line 21 of file emailactivationnotice.php.
| $email2 = $_POST['email2'] |
Definition at line 22 of file emailactivationnotice.php.
| $encryptedPassword = createPassword($username,$password) |
Definition at line 76 of file emailactivationnotice.php.
| $error = "" |
Definition at line 13 of file emailactivationnotice.php.
| $fullname = $_POST['fullname'] |
Definition at line 19 of file emailactivationnotice.php.
| $headers = "\r\n" |
Definition at line 131 of file emailactivationnotice.php.
| $keyvalue = $_POST['keyvalue'] |
Definition at line 24 of file emailactivationnotice.php.
| if (!createResource($username, $defaultAOR,'N','','')) $link = "/activateaccount.php?user=$username&code=$activationCode" |
Definition at line 100 of file emailactivationnotice.php.
| $message |
' <html> <head> <title>' . $provider . ' Activation Notice</title> </head> <body> <h1>Welcome to '. $provider . '</h1> <p>This email address has recently been used to create a new account at ' . $provider . '</p><br /> <p>In order to ensure this account was actually requested by you, we send an email to the address provided and ask that you confirm the new account request by clicking the link below:</p> <br />' . $link . '<br /> If you do not click this link, the account will not be activated. <br /> <br /> Sincerely,<br />' . $provider . '</body> </html> '
Definition at line 107 of file emailactivationnotice.php.
| $password = $_POST['password'] |
Definition at line 17 of file emailactivationnotice.php.
| $password2 = $_POST['password2'] |
Definition at line 18 of file emailactivationnotice.php.
| $subject = "$provider Activation Notice" |
Definition at line 104 of file emailactivationnotice.php.
| $userkey = $_POST['userkey'] |
Definition at line 23 of file emailactivationnotice.php.
| $username = $_POST['username'] |
Definition at line 16 of file emailactivationnotice.php.
| if(!mail($email, $subject, $message, $headers)) |
Definition at line 138 of file emailactivationnotice.php.
| we have sent an email with an activation link to the address you provided in the signup process</p><p> Please read that message and click the link provided |
Definition at line 138 of file emailactivationnotice.php.
| we have sent an email with an activation link to the address you provided in the signup process</p><p> Please read that message and click the link or follow the instructions in the email for manual activiation</p><hr/><p> Since I don t send out messages As a result |
Definition at line 138 of file emailactivationnotice.php.
1.7.5.1