Welcome, Guest. Please Login or Register.
August 29, 2025, 09:05:29 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Email checker in registration? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Email checker in registration?  (Read 307 times)
Hac Nho
Noobie
*
Posts: 3


I love YaBB SE!

Email checker in registration?
« on: April 22, 2002, 03:20:16 PM »
Reply with quote

It seems like there's no any email check when you register.
I think there was one in yabb1G, to check and see if your filled email has a "@" and at least a ".".
Right now, you can put in anything, even just a name, and the account is registered (and no one use it, because server cant send password to a wrong email.

I am sorry for testing on this board, just wanna check if the latest version still has the problem, or I post a "already fixed". Could someone delete this account for me: http://www.yabb.info/community/index.php?action=viewprofile;user=testHN

Thanks
Logged
Hac Nho
Noobie
*
Posts: 3


I love YaBB SE!

Re:Email checker in registration?
« Reply #1 on: April 22, 2002, 03:31:40 PM »
Reply with quote

Here's the email-check part in the old yabb1B7

   &fatal_error("$txt{'568'}") if(length($member{'name'}) > 20);
   &fatal_error("$txt{'76'}") if($member{'email'} eq '');
   &fatal_error("$txt{'243'}") if($member{'email'} !~ /^[0-9A-Za-z@\._\-]+$/);
   &fatal_error("$txt{'500'}") if(($member{'email'} =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)|(\.$)/) || ($member{'email'} !~ /^.+@\[?(\w|[-.])+\.[a-zA-Z]{2,4}|[0-9]{1,4}\]?$/));

Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Email checker in registration?
« Reply #2 on: April 22, 2002, 08:42:25 PM »
Reply with quote

this is not really a bug, but i can give you the code to check your emails during registration!
Logged

mainComm Dev Team
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Email checker in registration? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.126 seconds with 21 queries.