Show sourcecode
The following files exists in this folder. Click to view.
webbsrvprg/projects/rpsproject/
bacon-egg-pizza.php
createaccount.php
drop-rps-tables.php
legacy-code-rps.php
newpassword-verify.php
newpassword.php
rpsaccount-ajax-user-search.php
rpsaccount.php
rpsbetting-ajax-match-finder.php
rpsbetting.php
rpsbettingleaderboard.php
rpschangepassword.php
rpschangepassword.txt
rpsgame-ajax.php
rpsgame.php
rpsgameresults.php
rpshostnewgame.php
rpshub.php
rpsleaderboard.php
rpslib.php
rpslogin.php
rpsmaininclude.php
rpsusersearch.php
table-init.php
verification.php
rpschangepassword.php
41 lines UTF-8 Windows (CRLF)
<?php
require('rpsmaininclude.php');
if (isset($_POST['oldpass']) && ($_POST['oldpass']!=NULL) && isset($_POST['newpass']) && ($_POST['newpass']!=NULL)){
changePassword($dbconn,$_POST['oldpass'],$_POST['newpass']);
}
?>
<html>
<h1>ändra lösenord</h1>
<form action="" method="POST">
<table>
<tr>
<td>
nuvarande lösenord:
</td>
<td>
<input type="text" name="oldpass">
</td>
</tr>
<tr>
<td>
nytt lösenord:
</td>
<td>
<input type="text" name="newpass">
</td>
</tr>
<tr>
<td>
<input type="submit">
</td>
</tr>
</table>
</form>
</html>