One Hat Cyber Team
Your IP :
216.73.216.186
Server IP :
93.127.173.12
Server :
Linux in-mum-web1837.main-hosting.eu 5.14.0-503.34.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 27 06:00:50 EDT 2025 x86_64
Server Software :
LiteSpeed
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
u322583024
/
domains
/
jimmy2chs.in
/
public_html
/
View File Name :
check_email.php
<?php include('connection.inc.php'); if (isset($_POST['email'])) { $email = $_POST['email']; // Check if email exists in the database $check_sql = "SELECT * FROM members WHERE email = '$email'"; $check_result = mysqli_query($con, $check_sql); if (mysqli_num_rows($check_result) > 0) { // Email exists, proceed with updating the password if (isset($_POST['email'])) { $password = $_POST['password']; $update_sql = "UPDATE members SET pass = '$password' WHERE email = '$email'"; $update_result = mysqli_query($con, $update_sql); if ($update_result) { // Password updated successfully echo 'password_updated'; } else { // Failed to update password echo 'error'; } } } else { // Email does not exist echo 'not_member'; } } else { // Email or password not provided echo 'missing_data'; } mysqli_close($con); ?>