I've created a log in page.
What I'm trying to make happen is when the user log in fails a message saying Log in Failed will display for about 3 seconds and then take them back to log in page.
Any idea how to make this happen?
this is what I have so far:
else {
echo "<FONT color = red> Log in failed. </FONT><br>";
echo "Name or Password did not match";
for ($counter=1; $counter <=1000, $counter++)
{
}
header('Location: login.swf');
exit;
}
All this does though is just take me back to the log in page doesn't display the Log in failed message. When I try'd it with a simple for loop the page just took longer to load.
Was also cerious if there is a way to make information pause with out it being dependent on Processor speed.
any help would be much appriciated 🙂