diff --git a/components/change_username.php b/components/change_username.php deleted file mode 100644 index a21a644b14875ff33035da6800d5156f25c07ec0..0000000000000000000000000000000000000000 --- a/components/change_username.php +++ /dev/null @@ -1,52 +0,0 @@ - - -security($_POST['user_name']); - $name_status = 1; - - if(empty($user_name)){ - $user_error = "Please Enter UserName"; - $name_status = 0; - } - - if(!empty($name_status)){ - $user_id = $_SESSION['user_id']; - if($obj->Normal_Query("UPDATE users SET name = ? WHERE id= ?",[$user_name,$user_id])){ - $obj->Create_Session("user_name",$user_name); - $obj->Create_Session("username_updated","Your Username is updated Successfully!"); - header("location:index.php"); - } - } - - -} -?> - - - - - - HOME - - - - - - -
- -
- - - - -
- - -
- - - -