The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validation Class for Email Domain
#1
Hello,

Thoughts on how I can make a validation class in the Registration Form, and
Code:
account.php
page to verify the user it using a email using x.domains? For the time being I will hard code them, and later on verify it against the DB, but if you think it is easier to use the DB in the first place, I will do that, maybe call it allow_domains?

I need to require my users to be using a domain such as example.com or example1.com or example2.com, but if they try to register with example3.com, since it is not in the list of allowed domains, it fails the registration, or the email change on the account.php page.

Thank you!
  Reply
#2
Just wondering if anyone has any thoughts on this?
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)