Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 09-26-2004, 05:19 PM   #1 (permalink)
Super Techie
 
Join Date: Sep 2003
Posts: 386
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   Reply With Quote
Old 09-29-2004, 04:56 AM   #2 (permalink)
Monster Techie
 
Join Date: Nov 2002
Posts: 1,368
Send a message via AIM to shan
Default

i think it be better off to go with authentication on the website itself rather than the program.....then anyone who wants can open the website and see what "authorized" people want to see...
__________________

C:\\ Is the root of all evil




phiber@sysdum.com
spam this account, it's fun.
shan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:37 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0