I want to limt isset post on login form but am not sure where to begin.
[php]
if{
// this is login successful
}
else {
$login_attempts = isset( $_POST[‘login’] // some sort of php count;
if ($login_attempts >=5) {
// something that I’ll do
}
else
// something that I’ll do if it is <$login_attempts = error wrong password or username try again
}}
[/php]
I only need help with the variable :
[php]
$login_attempts = isset( $_POST[‘login’] // some sort of php count;
[/php]
Any help on this will be, as always, appreciated.
