Is there any way to authenticate login in PHP using One Time Password which should be in digits and login.php asks on submission of form. Once a user input login information and submit the form. System send a OTP to user email and asks to input the OTP to get access to member area.
I have google out but all ways are SMS based which costs a lot. I need email based login code to authenticate login and secure member area from unwanted login attempts.
If someone has PHP coding then please share with me.