Weblog maken?


MaakEenWebsite.nl (tip)
Totaal slechts 10 euro per maand incl. domeinnaam en gratis overzetten van uw bestaande weblog bij Bloggers.nl 100 MB ruimte
emailadres
Lees meer..... en bestel
Gratis geld verdienen met e-mails lezen? Meld je aan bij
Zinngeld, Surfrace, Qassa en Euroclix !

Op zoek naar God?

v2


wik nie

Posted at 14:00 on 29/9/2006
>> INC_CONFIG.PHP >> NEWUSER.PHP id; } $subject = "Thank you for registring at {$sitename}"; $msg = " Verification mail from {$sitename} Dear {$username},

Thank you for signing up at {$sitename}. Your account details:

Username: {$username}
Password: {$password_input}

To activate your account click the following link:
{$sitedir}verification.php?id={$id}&ver={$random_string}

Thank you,

{$sitename} "; $headers = "MIME-Version: 1.0 "; $headers .= "Content-type: text/html; charset=iso-8859-1 "; $headers .= "To: $username <$email> "; $headers .= "From: $sitename <$youremail> "; // Use these ini_sets() if you need them. (Delete this 3 lines if you don't need it) // Use this if you need config for SMTP. ini_set(SMTP, $smtp); ini_set(SMTP_PORT, $smtp_port); ini_set(sendmail_from, $youremail); // End ini_set() // Send the mail. mail($email, $subject, $msg, $headers); // The mail was send succesfully. echo "Thank you for signing up. We send you a mail for the verification."; } } ?> >> LOGIN.PHP status == 1) { echo "Your account is not validated!"; } elseif($data->password != $password) { echo "You entered a incorrect password!"; } else { // Data is correct -> proceed login. // Create a session. $_SESSION['login'] = $username; $_SESSION['ip'] = $_SERVER['REMOTE_ADDR']; echo "You're succesfully logged in!"; } } } else { echo "The username doesn't exist in our database!"; } } } ?> >> INC_LOGGED_IN.PHP >> LOST_PASSWORD.PHP id; $username = stripslashes($data->username); } // Send a verification mail. $subject = "Thank you for registring at {$sitename}"; $msg = " Verification mail from {$sitename} Dear {$username},

You ordered a new password on our site. Your account new details:

Username: {$username}
Password: {$new_password}

To reactivate your account click the following link:
{$sitedir}verification.php?id={$id}&ver={$verification}

Best wishes,

{$sitename} "; $headers = "MIME-Version: 1.0 "; $headers .= "Content-type: text/html; charset=iso-8859-1 "; $headers .= "To: $username <$email> "; $headers .= "From: $sitename <$youremail> "; // Use these ini_sets() if you need them. (Delete this 3 lines if you don't need it) // Use this if you need config for SMTP. ini_set(SMTP, $smtp); ini_set(SMTP_PORT, $smtp_port); ini_set(sendmail_from, $youremail); // End ini_set() // Send the mail. mail($email, $subject, $msg, $headers); // The mail was send succesfully. echo "We send you a e-mail with your new password. After the verification you can change your password."; } else { echo "This e-mail address doesn't exists in our database!"; } } } ?>
Comments (0) | Post A Comment! | Permanent Link

Hosting door HQ ICT Systeembeheer