Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Javascript File Detect - July 30, 1998 at 09:44:26

You are here: irt.org | BBS | Re: Javascript File Detect [This BBS is closed]

Posted by Tricia Newbre on July 30, 1998 at 09:44:26:

In Reply to: Re: Javascript File Detect posted by Andy Tatton on July 30, 1998 at 09:02:26:

: : : 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

Depending upon what webserver you are using (if you're fortunate enough to have control of the server your site is hosted on), you may be able to customize the 404 page in the server config.
Tricia

Follow-ups:

You are here: irt.org | BBS | Re: Javascript File Detect [This BBS is closed]

©2018 Martin Webb