Quote:
Originally Posted by Moh.ElBaz
why to make the edit in this complicated steps ? it's very simple ..
|
The sql query in takesignup.php sets members to
pending so unless you're the first member to signup so you can't just change the default value to
confirmed in the database, he wanted members to be confirmed straight away without emailing and that is what my posted code does, it sets them to confirmed and stops the site from sending the validation email.
Quote:
Originally Posted by raefor
the 2 gig part np but the
confirmed email you get white page
|
My bad
Code:
if($arr[0])
mail($email, "$SITENAME user registration confirmation", $body, "From: $SITEEMAIL", "-f$SITEEMAIL");
Also comment out the next line after the 2 lines you've already commented out should be: