How to make waiting period using php when new user register he shall wait 30 minutes after that time finished he is able t logi | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make waiting period using php when new user register he shall wait 30 minutes after that time finished he is able t logi

I have login and registration page when user register he will go to home.php i want the user to wait 30 minutes before he or she logsin if that time finished he is able t login automatically in and out as nornal users

11th Jul 2021, 5:03 PM
Abdifatah
3 Answers
+ 3
You can use ie sleep(1800);
11th Jul 2021, 6:21 PM
JaScript
JaScript - avatar
+ 2
"Good question“ I did not see your code. But in general you can go after registration to your page and first show a html „please wait 30 minites for login“ and start the sleep statement. After 30 minutes the code will run further.
11th Jul 2021, 7:51 PM
JaScript
JaScript - avatar
0
How plz
11th Jul 2021, 6:47 PM
Abdifatah