Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($account) === false){
- die();
- }
- if($_POST['submit']){
- $username = $account['username'];
- $currentPassword = $_POST['currentPassword'];
- $newPassword = $_POST['newPassword'];
- $rNewPassword = $_POST['rNewPassword'];
- $old_db = file("./includes/users.inc.php");
- $new_db = fopen("./includes/users.inc.php", "w");
- if($new_db === false){
- $failed = 1;
- } else {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement