📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
boot
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📁
css
-
0755
🗑️
🔒
📁
js
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
312.85 KB
0644
🗑️
⬇️
✏️
🔒
Editing: edite.php
<?php include "every.php"; include "connect_to_mysqli.php"; if (isset( $_POST['old'])){ $changepass = $_POST['old']; $npass = $_POST['new']; $confirmp = $_POST['emnew']; $sql = "SELECT * from user where user = '".$usid."'" ; $sql2 = mysqli_query($con,$sql); while ($row = mysqli_fetch_array($sql2)) { $d_pass = $row['pass']; if($changepass != $d_pass) { $err='<center>Incorrect Password</center> '; } else if (strlen($npass) < 8) { $rrs = 'Password must have 8 or more characters'; } elseif($npass != $confirmp) { $mac = '<center>Password does not match</center>'; } else { $insert = mysqli_query($con,"UPDATE user SET pass= '$npass' where user ='$usid'") or die ('Could not connect: ' .mysqli_error($con)); $insert = mysqli_query($con,"UPDATE user SET conpass= '$npass' where user ='$usid'") or die ('Could not connect: ' .mysqli_error($con)); echo header("location:book.php"); } } } ?>
💾 Save Changes