LittleDemon WebShell


Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
Path : /home/udaipurk/public_html/websites/samaj/samaj/
File Upload :
Command :
Current File : /home/udaipurk/public_html/websites/samaj/samaj/password.php

<?php 
if(isset($_POST['submit']))
	{
			include('config.php');
			session_start();
			$mid=$_SESSION['samaj_member'];
			$password=$_POST['password'];
			$query=mysqli_query($link,"update reg_member set password='$password' where m_id='$mid'");
			
			if($query)
				header('location:index.php?err=1');
			else
				header('location:password.php?err=2');
	}

include('header.php'); 
if(isset($_GET['err']))
{
$msg=$_GET['err'];
if($msg==2)
{
?>
<script>
	swal('Fail!', 'Oops. Password is not updated Successfully!', 'error');
	 </script>

<?php  } 

} 

?>
		<br>

			<section id="ccr-contact-form">
				<p>Change Password</p>
				<form action="password.php" method="post" id="commentform">
					
					<input id="email" name="password" type="password" placeholder="New Password" value="" required>
					
					<input name="submit" type="submit" id="submit" value="Submit">
					
				</form> <!-- /#commentform -->
					
			</section> <!-- /#ccr-contact-form -->

		
		<?php include('footer.php');

 ?>

LittleDemon - FACEBOOK
[ KELUAR ]