CodeCanyon - PHP 2-Step Login Verification | 127 KB
This script allow you to protect your users accounts from being accessed without their permission. Once a user logs into a computer for the first time, a 7-digit verification code will be generated and the user will can choose to have the code emailed or texted to them. When the user enters their code, they will be redirected to their account. A user can request for their computer to be trusted for 30 days.
Once a computer has been trusted, every time the user logs in they will not be prompted for a verification code until the 30 days have expired.
2-Step Verification can be enabled or disabled for any user account.
DEMO:
http://codecanyon.net/item/php-2step-login-verification/2557021