R
R
Ratami Sato2015-10-19 14:31:37
PHP
Ratami Sato, 2015-10-19 14:31:37

How to block a domain during registration?

Guys, I have a question for you, how to register on the site with permission to register only one domain "@dnevnik.ru" and prohibit others. I searched all over the Internet, but I didn't find what I needed :3

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Optimus, 2015-10-19
Pyan @marrk2

preg_match(/[a-z0-9]{1,20}@dnevnik\.ru/)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question