View Single Post
Old 09-26-2004, 06:19 PM   #1 (permalink)
chesman
 
Super Techie

Join Date: Sep 2003

Posts: 386

chesman

Send a message via ICQ to chesman Send a message via Yahoo to chesman
Default createing a Login with VBScript in a html file

Basiclly, all i want is to have two boxs on my page, one for username, and one for password.

I want to set it up with vbscript so basiclly someone will put a designated username and password in there to opoemn a new file, otherwise it wont open.

now i know this is not secure, but it doesnt need to be, and i was thinking that i was going to have to use an IF statement like the following:


If txtusername.text = "john" AND txtpassword.text = "password"
then open.file = "http://www.newpage.html"
else
then open.file = "http://www.goaway.html"
end if
end sub


now i know that some of these are not even ocmmands, i just placed them there for an example of what i want. so if anyone can hlep me please do so

thanks
Have a great Day!
__________________
WinXP Pro
P4 2.5 Ghz/socket 478/400FSB/512L2
512 megs PC800 Rambus
ABIT TH7II-Raid mobo
128MB Nvidia FX 5200 Home Theatre w/TV out and Remote
80 Gig Western Digital/8mb Cache/7200 RPM\'s
20 gig Fujitsu/2mb Cache/5400 RPM\'s
48x40x48/16X Dvd/CD-Burner
chesman is offline