NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Website Development
Reload this Page Login page help!

Website Development Development concepts, scripts, sponsors and affiliate programs.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-07-2005, 01:19 PM THREAD STARTER               #1 (permalink)
Senior Member
 
Barrucadu's Avatar
Join Date: Aug 2005
Location: East Yorkshire, England
Posts: 2,689
Barrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to behold
 




Login page help!


OK, ive just added a members section on my site (its a wip, dont expect good code) and ive made a simple login form and vbscript page that validates the user, there are 3 problems,
1: Document.Write dosnt work in firefox so if possible use a different command
2: When you click login you get taken to a white page and nothing happenes
3: If you could make a .mdb database for the users that would be great, ATM there is only 1 username/password combination.

OK, heres the form code (on index.htm):
Code:
<form method="GET" action="verify.htm">
<p>
<font size="1" face="Verdana">Username:
<input type="text" name="uname" size="20" style="font-family: Verdana; font-size: 1em"> <br>
Password:&nbsp;
<input type="text" name="pword" size="20" style="font-family: Verdana; font-size: 1em">
</font>
</p>
<p>
<font face="Verdana" size="1">
<input type="submit" value="Login" style="font-family: Verdana; font-size: 1em"></font></p>
</form></p>
and heres the VBScript page code (on verify.htm):
Code:
<script language = "vbscript">
	dim username
	dim password
	dim username2
	dim password2

	username = "username"
	password = "password"
	username2 = Request.QueryString("uname")
	password2 = Request.QueryString("pword")


	if password2 == password then
		if username2 == username then
			document.write("<p align="center">Username and Password accepted!</p><p align="center"><a href='http://www.walkerweb.tk/MembersArea/Main/index.htm'>Continue to the Members Area</a>.</p>")
		else 
			document.write("<p align="center">Username or Password incorrect!</p><p align="center"><a href='http://www.walkerweb.tk/MembersArea/Login/index.htm'>Return to Login Page</a>.</p>")
		end if
	else 
		document.write("<p align="center">Username or Password incorrect!</p><p align="center"><a href='http://www.walkerweb.tk/MembersArea/Login/index.htm'>Return to Login Page</a>.</p>")
	end if
</script>
can anyone help me? as you can see the only username password combo ATM is "Username" and "Password", if you could make a .mdb to fix that it would be great but mainly I would like it to work in Firefox and just work in general. Please make a .ZIP of the fixed files and tell me the URL, either that or just post the code here. Please help.
Barrucadu is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Article: An SEO Checklist Ferman Search Engines 2 05-28-2005 11:51 AM
Page Rank 5 Site with Banner and Text Links!! MUCH MORE! High Traffic Sites ebizcraftsman Advertising & SEO Services 0 12-09-2004 10:43 PM
Five-Day .INFO SALE - Part Five - 133 Domains Including StockResearch.info Duke Domains For Sale - Make Offer 0 03-31-2004 12:49 PM
Prime .INFO Sale - Part Five - 122 Domains Including StockResearch.info Duke Domains For Sale - Make Offer 2 02-22-2004 06:07 PM
Shopping & Retail Domains In All Extensions ON SALE - Many Nice One-Worders! Duke Domains For Sale - Make Offer 0 12-29-2003 05:06 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:03 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger