[advanced search]
Results from the most recent live auction are here.
26 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 07-14-2006, 05:13 AM   · #1
blackwizard
Account Suspended
 
Location: India
Trader Rating: (8)
Join Date: Oct 2005
Posts: 636
NP$: 15.35 (Donate)
blackwizard is a jewel in the roughblackwizard is a jewel in the roughblackwizard is a jewel in the rough
Login and Password Script.

Simply insert this in the <body> section:

Code:
<script language="javascript"> <!--// /*This Script allows people to enter by using a form that asks for a UserID and Password*/ function pasuser(form) { if (form.id.value=="JavaScript") { if (form.pass.value=="Kit") { location="page2.html" } else { alert("Invalid Password") } } else { alert("Invalid UserID") } } //--> </script> <center> <table bgcolor="white" cellpadding="12" border="1"> <tr><td colspan="2"><center><h1><i><b>Login Area</b></i></h1></center></td></tr> <tr><td><h1><i><b>UserID:</b></i></h1></td><td><form name="login"><input name="id" type="text"></td></tr> <tr><td><h1><i><b>Password:</b></i></h1></td><td><input name="pass" type="password"></td></tr> <tr><td><center><input type="button" value="Login" onClick="pasuser(this.form)"></center></td><td><center><br><input type="Reset"></form></td></tr></table></center>



Quote:




Reputation is always appreciated.


Please register or log-in into NamePros to hide ads
blackwizard is offline   Reply With Quote
Old 07-14-2006, 05:26 AM   · #2
fmauniverse
Account Closed
 
Trader Rating: (30)
Join Date: May 2006
Posts: 584
NP$: 0.00 (Donate)
fmauniverse is a name known to allfmauniverse is a name known to allfmauniverse is a name known to allfmauniverse is a name known to allfmauniverse is a name known to allfmauniverse is a name known to all
Thanks

Thanks and rep added.

Regards.
fmauniverse is offline   Reply With Quote
Old 07-14-2006, 05:28 AM   · #3
blackwizard
Account Suspended
 
Location: India
Trader Rating: (8)
Join Date: Oct 2005
Posts: 636
NP$: 15.35 (Donate)
blackwizard is a jewel in the roughblackwizard is a jewel in the roughblackwizard is a jewel in the rough
Thanks for the rep. And Try out the Script,Sir.
blackwizard is offline   Reply With Quote
Old 07-14-2006, 05:42 AM   · #4
jontalbot
NamePros Regular
 
jontalbot's Avatar
 
Name: Jon
Location: New Hampshire
Trader Rating: (14)
Join Date: Jul 2005
Posts: 561
NP$: 79.65 (Donate)
jontalbot is a jewel in the roughjontalbot is a jewel in the roughjontalbot is a jewel in the rough
too easy to hack this script... even a beginner could figure this out.
jontalbot is offline   Reply With Quote
Old 07-20-2006, 03:05 PM   · #5
Phoenix
NP Maniac™
 
Phoenix's Avatar
 
Name: Tom
Trader Rating: (29)
Join Date: Apr 2004
Posts: 627
NP$: 21.75 (Donate)
Phoenix is a glorious beacon of lightPhoenix is a glorious beacon of lightPhoenix is a glorious beacon of lightPhoenix is a glorious beacon of lightPhoenix is a glorious beacon of lightPhoenix is a glorious beacon of light
All you have to do to bypass this script is View Source - a more efficient method (still very basic), using PHP where they cannot bypass it as easily would be to use:

Code:
<?php $userpass = $_POST['pass']; if($userpass == "password") { echo "Thank you for using this script."; } else { echo "That password was incorrect."; } ?>


~ Tom
__________________
~ Thomas Cameron
Phoenix is offline   Reply With Quote
Old 07-22-2006, 03:51 AM   · #6
blackwizard
Account Suspended
 
Location: India
Trader Rating: (8)
Join Date: Oct 2005
Posts: 636
NP$: 15.35 (Donate)
blackwizard is a jewel in the roughblackwizard is a jewel in the roughblackwizard is a jewel in the rough
Thats nice, TOm..
blackwizard is offline   Reply With Quote
Old 09-01-2006, 12:32 PM   · #7
rcep
Senior Member
 
rcep's Avatar
 
Name: Ryan
Location: lebanon
Trader Rating: (32)
Join Date: Jul 2005
Posts: 2,014
NP$: 1524.73 (Donate)
rcep is a name known to allrcep is a name known to allrcep is a name known to allrcep is a name known to allrcep is a name known to allrcep is a name known to all
i guess that would be the simplest fix for this script i once used something similar to this
Originally Posted by Phoenix
All you have to do to bypass this script is View Source - a more efficient method (still very basic), using PHP where they cannot bypass it as easily would be to use:

Code:
<?php $userpass = $_POST['pass']; if($userpass == "password") { echo "Thank you for using this script."; } else { echo "That password was incorrect."; } ?>


~ Tom

rcep is offline   Reply With Quote
Old 09-02-2006, 08:33 PM   · #8
zielak
NamePros Regular
 
zielak's Avatar
 
Name: Marcin
Location: Palos Hills, IL
Trader Rating: (32)
Join Date: Jan 2006
Posts: 827
NP$: 879.70 (Donate)
zielak is just really nicezielak is just really nicezielak is just really nicezielak is just really nice
Nice script, rep added
zielak is offline   Reply With Quote
Old 09-02-2006, 08:52 PM   · #9
Noobie
DNOA Member
 
Noobie's Avatar
 
Name: Shoei
Location: Montreal, Quebec, Canada
Trader Rating: (0)
Join Date: Feb 2006
Posts: 324
NP$: 65.00 (Donate)
Noobie is on a distinguished road
oi...
ouch....
aie......
__________________
Goldkey.com is a scam
What's your BMI? | Timestamp Generator
Noobie is offline   Reply With Quote
Old 09-02-2006, 09:06 PM   · #10
NeeJam
Adsung.com &lt;&lt;
 
NeeJam's Avatar
 
Location: England
Trader Rating: (16)
Join Date: May 2006
Posts: 1,611
NP$: 27.29 (Donate)
NeeJam is a glorious beacon of lightNeeJam is a glorious beacon of lightNeeJam is a glorious beacon of lightNeeJam is a glorious beacon of lightNeeJam is a glorious beacon of light
you could just go to www.hotscripts.com and get a free simple on done for you!
__________________
Adsung - The Unsung Advertising Company
NeeJam is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


Site Sponsors
Hunting Moon Build your NameBrand http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 02:32 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0