D
Dennis
Hello,
I have a very simple external JAVA password script that restricts
access to a single web page. This tests fine in my local Dreamweaver 3
development environment on both IE and Netscape.
When running on an Earthlink host however, I have a simple problem. My
Web site runs fine there except for the password feature. Earthlink
returns "can't find the page" after the correct password is input. I
can see the page on the server there, but when my little script is
processed, the Earthlink server can't find it.
Here is the script:
var password=prompt("A password is required for access to the XYZ
members directory.\n","");
if (password == "maninthemoon") {
document.write('<p align=center><a href=./memdir.htm><font size="+4"
color="#FF0000">Click here for Member Directory</font></a></p> ');
}
The page "./memdir.htm" is the one Earthlink says it can't find!
I'm a script newbie, but I think the directory reference to memdir.htm
is wrong and I don't know JAVA enough to fix it.
Any ideas?
Thanks in advance.
Dennis
I have a very simple external JAVA password script that restricts
access to a single web page. This tests fine in my local Dreamweaver 3
development environment on both IE and Netscape.
When running on an Earthlink host however, I have a simple problem. My
Web site runs fine there except for the password feature. Earthlink
returns "can't find the page" after the correct password is input. I
can see the page on the server there, but when my little script is
processed, the Earthlink server can't find it.
Here is the script:
var password=prompt("A password is required for access to the XYZ
members directory.\n","");
if (password == "maninthemoon") {
document.write('<p align=center><a href=./memdir.htm><font size="+4"
color="#FF0000">Click here for Member Directory</font></a></p> ');
}
The page "./memdir.htm" is the one Earthlink says it can't find!
I'm a script newbie, but I think the directory reference to memdir.htm
is wrong and I don't know JAVA enough to fix it.
Any ideas?
Thanks in advance.
Dennis