You are here: irt.org | BBS | Re: Javascript File Detect [This BBS is closed]
Posted by Andy Tatton on July 30, 1998 at 09:02:26:
In Reply to: Re: Javascript File Detect posted by Martin Webb on July 30, 1998 at 07:12:14:
: : Is it possible to check if a file exists in javascript.
: : I'm writing a password entry script and it takes you to a page, but if the page doesn't exist it does the 404 file not found.
: : Is it possible to check if the file exists before the redirection occurs, so I can write my own 404 page.
: Take a look at the "Intelligent Password #2" article at http://www.irt.org/articles/js075/index.htm
Your script does exactly the same thing and reports a 404 not found when you enter an incorrect password.
I've already wrote my password script and it works.
check it out if you want
http://surf.to/andy.tatton
customer entrance, use username dfi and password loake.
Andy
Follow-ups:
You are here: irt.org | BBS | Re: Javascript File Detect [This BBS is closed]