View Single Post
  #34  
Old 3rd September 2009, 21:15
phpCoder phpCoder is offline
Member
 
Join Date: Aug 2009
United Kingdom
Posts: 8
Default
Quote:
Originally Posted by Moh.ElBaz View Post
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 View Post
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:
Code:
else
Reply With Quote