:confused:im trying to make a password system for my site. i want to send the user to google if they get the password wrong but i don't know how to sent the user to a site without a link. please help
Printable View
:confused:im trying to make a password system for my site. i want to send the user to google if they get the password wrong but i don't know how to sent the user to a site without a link. please help
This is (or at least should be) a server-side task. You should re-post your question in the section specific to the server-side language you'll be using to create the login system.
You'll want to ask how to send the Location header in whatever language you choose ...
I suppose you could alternatively write some JavaScript on the page for a failed login. My JavaScript is a little rusty, but I think the following is a valid JavaScript redirect ... (on a 5 second timeout)
HTML Code:<script type='text/javascript'>
var redirect = setTimeout("window.location='http://google.com'", 5000);
</script>
You can't make a login system with HTML, HTML is a language to do thedisplay, it isn't a scripting language.