|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
here is lil piece of code can anybody help?
<i><b>Originally posted by : venkatesh krishnamurthy (venky33@hotmail.com)</b></i><br />here is the html file for password without the database and variable driven<br /><html><br /><br /><head><br /><meta http-equiv="Content-Language" content="en-us"><br /><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br /><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><br /><meta name="ProgId" content="FrontPage.Editor.Document"><br /><title>USER NAME</title><br /></head><br /><br /><body bgcolor="#FFDCE0"><br /><br /><table border="0" width="95%" height="1" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="19%" height="20"><font color="#0000FF"><b>USER NAME </b></font></td><br /><td width="3%" height="20"><br /><p align="center"><font color="#0000FF"><b>:</b></font></p><br /></td><br /><td width="80%" height="20"><br /><form name="admin" method="POST" action="loginverify.asp"><br /><br /><p><input type="text" name="username" size="20"></p><br /></td><br /></tr><br /><tr><br /><td width="19%" height="1" valign="top" align="left"><font color="#0000FF"><b>PASSWORD <br /></b></font></td><br /><td width="3%" height="1" valign="top" align="center"><font color="#0000FF"><b>:</b></font></td><br /><td width="80%" height="1"><br /><p><input type="password" name="password" size="10"></p><br /><p align="left"><input type="submit" value="Login" name="B1"><input type="reset" value="Reset" name="B2"></p><br /></td><br /></tr><br /></table><br /><br /></body><br /><br /></html><br />and the asp file as follows<html><br /><br /><head><br /><br /><title>PASSWORD IS CORRECT</title><br /><% <br />var1 = "ebc"<br />var2 = "ebc"<br />var3 = Request.form("username")<br />var4 = Request.form("password")<br />Session("pass") = var2<br />%><br /></head><br /><br /><body bgcolor="#FFDCE0"><br /><br /><% <br />If var3 = var1 And var4 = var2 then<br />%><br /><table border="0" width="100%" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="100%"><br /><p align="center"><b><font color="#0000FF" size="4">PASSWORD IS CORRECT</font></b></td><br /></tr><br /></table><br /><p> </p><br /><p> </p><br /><table border="0" width="100%" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="100%"><br /><form name="change"><br /><table border="0" width="58%" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="100%" colspan="3"><br /><p align="center"><font color="#0000FF"><b>Change Password</b></font></td><br /></tr><br /><tr><br /><td width="36%"><br /><p align="left"><font color="#0000FF"><b>New password </b></font></td><br /><td width="3%"><br /><p align="center"><font color="#0000FF"><b>:</b></font></td><br /><td width="79%"><input type="text" name="newpassword" size="10"></td><br /></tr><br /><tr><br /><td width="118%" colspan="3"><br /><p align="center"><input type="submit" value="Change" name="B1"><input type="reset" value="Reset" name="B2"></td><br /></tr><br /></table><br /></form><br /></td><br /></tr><br /></table><br /><%<br />else<br />Response.Write("INCORRECT LOGIN")<br />end if<br />%><br /><br /></body><br /><br /></html><br />now my question is how do i change the password<br />can someone look into it and mail me<br />thanks a lot u guys<br />bye<br /><br /><br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : C.Venkateshwar Rao (venkat_cit@yahoo.com)</b></i><br /><br />Hi<br /><br /> If u dont want to use database use file and<br /> replace that file with new password, and access<br />from that file and replace in ur variables.<br /><br /><br /><br />Thats the only way .<br /><br />------------<br />venkatesh krishnamurthy at 4/15/2000 12:41:14 PM<br /><br />here is the html file for password without the database and variable driven<br /><html><br /><br /><head><br /><meta http-equiv="Content-Language" content="en-us"><br /><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br /><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><br /><meta name="ProgId" content="FrontPage.Editor.Document"><br /><title>USER NAME</title><br /></head><br /><br /><body bgcolor="#FFDCE0"><br /><br /><table border="0" width="95%" height="1" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="19%" height="20"><font color="#0000FF"><b>USER NAME </b></font></td><br /><td width="3%" height="20"><br /><p align="center"><font color="#0000FF"><b>:</b></font></p><br /></td><br /><td width="80%" height="20"><br /><form name="admin" method="POST" action="loginverify.asp"><br /><br /><p><input type="text" name="username" size="20"></p><br /></td><br /></tr><br /><tr><br /><td width="19%" height="1" valign="top" align="left"><font color="#0000FF"><b>PASSWORD <br /></b></font></td><br /><td width="3%" height="1" valign="top" align="center"><font color="#0000FF"><b>:</b></font></td><br /><td width="80%" height="1"><br /><p><input type="password" name="password" size="10"></p><br /><p align="left"><input type="submit" value="Login" name="B1"><input type="reset" value="Reset" name="B2"></p><br /></td><br /></tr><br /></table><br /><br /></body><br /><br /></html><br />and the asp file as follows<html><br /><br /><head><br /><br /><title>PASSWORD IS CORRECT</title><br /><% <br />var1 = "ebc"<br />var2 = "ebc"<br />var3 = Request.form("username")<br />var4 = Request.form("password")<br />Session("pass") = var2<br />%><br /></head><br /><br /><body bgcolor="#FFDCE0"><br /><br /><% <br />If var3 = var1 And var4 = var2 then<br />%><br /><table border="0" width="100%" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="100%"><br /><p align="center"><b><font color="#0000FF" size="4">PASSWORD IS CORRECT</font></b></td><br /></tr><br /></table><br /><p> </p><br /><p> </p><br /><table border="0" width="100%" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="100%"><br /><form name="change"><br /><table border="0" width="58%" cellspacing="0" cellpadding="0"><br /><tr><br /><td width="100%" colspan="3"><br /><p align="center"><font color="#0000FF"><b>Change Password</b></font></td><br /></tr><br /><tr><br /><td width="36%"><br /><p align="left"><font color="#0000FF"><b>New password </b></font></td><br /><td width="3%"><br /><p align="center"><font color="#0000FF"><b>:</b></font></td><br /><td width="79%"><input type="text" name="newpassword" size="10"></td><br /></tr><br /><tr><br /><td width="118%" colspan="3"><br /><p align="center"><input type="submit" value="Change" name="B1"><input type="reset" value="Reset" name="B2"></td><br /></tr><br /></table><br /></form><br /></td><br /></tr><br /></table><br /><%<br />else<br />Response.Write("INCORRECT LOGIN")<br />end if<br />%><br /><br /></body><br /><br /></html><br />now my question is how do i change the password<br />can someone look into it and mail me<br />thanks a lot u guys<br />bye<br /><br /><br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > here is lil piece of code can anybody help? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|