Hi,
When a user logs in if they type in their login details incorrect it shows them an error then redirects back to the login screen.
When they put the incorrect Security code in it shows the error but doesn't redirect back.
How would I implement a redirect back in php?
This is the code I am assuming I would need to add the redirect.
If anyone has any suggestions that would be great. Many thanks,PHP Code:if (strtoupper($_POST['code']) != $_SESSION['code']) {
error('Invalid security code entered!');
} else {
unset($_SESSION['code']);
}
Paul





Bookmarks