Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 17:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Reset password script (WebSro, Satanic Road Website)

Discussion on [Release] Reset password script (WebSro, Satanic Road Website) within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
ledgervera's Avatar
 
elite*gold: 80
Join Date: May 2014
Posts: 199
Received Thanks: 451
Lightbulb [Release] Reset password script (WebSro, Satanic Road Website)

» Introduction
Lot of people was asking for forget/reset password script
so i decided to upload mine to the community

Page.php:
PHP Code:
}else if (isset($_GET['lostpw'])) {
include(
"mod/lostpw.php"); 
Note: E-mail should be valid to reset password correctly
Download in attachments website design + reset password script
Password: eric

Click on button if i helped.
Attached Files
File Type: rar satanic road website.rar (4.34 MB, 658 views)
File Type: rar lostpw.rar (1.4 KB, 219 views)
ledgervera is offline  
Thanks
36 Users
Old 02/02/2015, 04:18   #2
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,309
Received Thanks: 6,470
#Approved
PortalDark is offline  
Old 02/02/2015, 04:27   #3
 
Eslam Galull's Avatar
 
elite*gold: 85
Join Date: Aug 2010
Posts: 1,278
Received Thanks: 521
in Satanic Road ..website you dont have to do all that ..
Just add new Page to index :
Quote:
}else if (isset($_GET['resetpw'])) {
include("mod/resetpw.php");
Then add this code to resetpw.php

Quote:
<div id="plink"><div style="position:relative;z-index:1">
<a href="">Reset Password</a></div></div><div style="float:right;height:0;position:relative;bott om:27px;right:6px;">
</div>



<?php
session_start();



if(!isset($_SESSION['loggedin'])) {


if(isset($_POST["submit"])){
$userID = anti_injection($_POST["userID"]);

$newpassword = anti_injection($_POST["newpassword"]);
$newpassword2 = anti_injection($_POST["newpassword2"]);
$encrypt = md5($newpassword);

$email = anti_injection($_POST["email"]);
$passwordcheck = odbc_num_rows(odbc_exec($connectacc, "SELECT * FROM dbo.TB_User WHERE StrUserID = '$userID' AND password = '$oldencrypt'"));
$emailcheck = odbc_num_rows(odbc_exec($connectacc, "SELECT * FROM dbo.TB_User WHERE StrUserID = '$userID' AND email = '$email'"));



if($userID == "" || $newpassword == "" || $newpassword2 == "" || $email == ""){
echo "<div class='error'>Please fill all fields</div>";
}else if ($newpassword != $newpassword2) {
echo "<div class='error'>Password does not match!</div>";

}else if (strlen($newpassword) <= "3" || strlen($newpassword) >= "21") {
echo "<div class='error'>Password should be between 4 and 21 characters</div>";
}else if (strlen($newpassword2) <= "3" || strlen($newpassword2) >= "21") {
echo "<div class='error'>Password should be between 4 and 21 characters</div>";
}else if(!filter_var($email,FILTER_VALIDATE_EMAIL)){
echo "<div class='error'>Email is not valid!</div>";

} else if($emailcheck == "0"){
echo "<div class='error'>Email is incorrect!</div>";
} else {
if(odbc_exec($connectacc, "UPDATE dbo.TB_User SET password = '$encrypt' WHERE StrUserID = '$userID'"))
{
echo "<div class='ok'>Password is changed successful! , Please take Care of your informations </div>";
}
else
{
echo "<div class='error'>Register for handling an error during the holding at, please go to support.</div>";
}
}
}
}
?>



<form action="" method="post">

<table>

<tr>
<td>Account iD</td> <td><input type="text" name="userID" id="userID" /> </td> <td><font size="1" color="grey">3-20 Long (Characters A-Z,a-z 0-9)</font> </td>
</tr>

<tr>
<td>New Password</td> <td><input type="password" name="newpassword" id="newpassword"/></td> <td><font size="1" color="grey">3-20 Long (Characters A-Z,a-z 0-9)</font> </td>
</tr>
<tr>
<td>Confirm New Password</td><td><input type="password" name="newpassword2" id="newpassword2" /> </td> <td></td>
</tr>
<tr>
<td>Email</td><td><input type="text" name="email" id="email" /> </td> <td><font size="1" color="grey">Should be Vaild</font> </td>
</tr>
<tr>
<td>Capatcha</td> <td><input type="text" name="captcha" id="captcha" /> </td> <td><img src="mod/captcha/captcha.php" id="captcha" /></td>
</tr>
<tr>
<td></td> <td></td> <td><a href="" onclick="
document.getElementById('captcha').src='mod/captcha/captcha.php?'+Math.random();
document.getElementById('captcha-form').focus();"
id="change-image"><font color="grey">Refresh captcha.</font></a></td>
</tr>
<tr>
<td></td> <td></td> <td><p class="submit"> <input type="submit" name="submit" value="Register" /> </p> </td>
</tr>
</table>
<br>
<br>
<p><font color="#FFFFFF" size="3"> Have a problem ?! Contact us <class="link"><a href="?Report">Report</a></font></p>




</form>





its will help ppl that already using those files and edited them ! dont make them have to start there edits from the beginning
Eslam Galull is offline  
Old 02/02/2015, 07:27   #4
 
elite*gold: 50
Join Date: Mar 2013
Posts: 1,153
Received Thanks: 411
well not rare , but good to released
asanoftw is offline  
Thanks
1 User
Old 02/02/2015, 09:01   #5
 
elite*gold: 0
Join Date: Jun 2013
Posts: 3
Received Thanks: 1
good job <3 it's useful
princeofwar2050 is offline  
Old 02/02/2015, 09:02   #6
 
ŧǿρĤ's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 572
Received Thanks: 382
nice one
ŧǿρĤ is offline  
Old 02/02/2015, 09:06   #7
 
ledgervera's Avatar
 
elite*gold: 80
Join Date: May 2014
Posts: 199
Received Thanks: 451
Quote:
Originally Posted by asanoftw View Post
well not rare , but good to released
Well, doesn't matter if the script isn't rare
Quote:
Originally Posted by princeofwar2050 View Post
good job <3 it's useful
Thank you.
Quote:
Originally Posted by ŧǿρĤ View Post
nice one
yo! thanks old friend
ledgervera is offline  
Thanks
3 Users
Old 02/02/2015, 09:17   #8
 
AdelFunky's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 48
Received Thanks: 19
was waiting for it :P
AdelFunky is offline  
Old 02/02/2015, 09:31   #9
 
Toby Crackit's Avatar
 
elite*gold: 0
Join Date: Jan 2015
Posts: 7
Received Thanks: 2
Eric my friend. nice work keep always you make wonderful things
Toby Crackit is offline  
Thanks
1 User
Old 02/02/2015, 12:03   #10
 
Storxy_'s Avatar
 
elite*gold: 0
Join Date: Oct 2014
Posts: 204
Received Thanks: 404
Good Job :v
Storxy_ is offline  
Thanks
3 Users
Old 02/02/2015, 15:20   #11

 
TheRunner's Avatar
 
elite*gold: 50
Join Date: Jan 2015
Posts: 813
Received Thanks: 237
very Nice Thanks For Share
TheRunner is offline  
Old 02/03/2015, 01:47   #12
 
ledgervera's Avatar
 
elite*gold: 80
Join Date: May 2014
Posts: 199
Received Thanks: 451
Quote:
Originally Posted by TheRunner View Post
very Nice Thanks For Share
by the way, there is thanks button on the thread
ledgervera is offline  
Thanks
1 User
Old 02/03/2015, 05:55   #13
 
Eslam Galull's Avatar
 
elite*gold: 85
Join Date: Aug 2010
Posts: 1,278
Received Thanks: 521
he care about spam ! xD
Eslam Galull is offline  
Old 02/04/2015, 08:43   #14
 
elite*gold: 0
Join Date: Nov 2011
Posts: 17
Received Thanks: 5
keep it up bich
ahmedemadsam is offline  
Old 02/04/2015, 09:22   #15
 
elite*gold: 0
Join Date: Jan 2015
Posts: 6
Received Thanks: 6
thq dude
Dollars Maker is offline  
Reply

Tags
lostpw, satanicweb, script, simple, websro


Similar Threads Similar Threads
[Release]Satanic Road website
07/13/2015 - SRO PServer Guides & Releases - 43 Replies
some screens from the website : http://i.epvpimg.com/s16dc.jpg http://i.epvpimg.com/Fsezb.jpg download link: Files.FM
[Re-Upload] Satanic Road Website
10/20/2014 - SRO PServer Guides & Releases - 3 Replies
Here we are: Screen shots: http://i.epvpimg.com/s16dc.jpg http://i.epvpimg.com/Fsezb.jpg Download via Mega.co.nz: Click here
(¯`·.»Satanic-Road» Cap 110» PvP Server» Professional Team» New Coin System «.·`)
09/13/2013 - SRO PServer Advertising - 26 Replies
#Request Close
[#1]Satanic-Road[Cap 100 - Exp 200x]
08/27/2013 - SRO PServer Advertising - 1 Replies
removed ##
[release] Reset Lost Password Script
05/01/2011 - EO PServer Hosting - 20 Replies
hey all i going release a nice script but there is a little catch on this script it contains out of 2 scripts and a mysql table i do not provide free install service , if you fail to install it on your own then you can request me to do it , but it will not be for free (you get the script already for free :D) http://files.boosterking.com/i/00005/c8us8qa8wbwa .png



All times are GMT +2. The time now is 17:16.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.