PATH: /home/hwyuvbry/www/kerbau/function
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 add-bank.php
↓
X
📄 add-banner.php
↓
X
📄 add-game.php
↓
X
📄 add-member.php
↓
X
📄 add-post.php
↓
X
📄 add-promo.php
↓
X
📄 add-promosid.php
↓
X
📄 add-slide.php
↓
X
📄 add-user.php
↓
X
📄 api_call_scatter.php
↓
X
📄 api_nexusggr.php
↓
X
📄 api_set_rtp.php
↓
X
📄 bank-status.php
↓
X
📄 banner-status.php
↓
X
📄 banner.php
↓
X
📄 del-backup.php
↓
X
📄 del-bank.php
↓
X
📄 del-banner.php
↓
X
📄 del-post.php
↓
X
📄 del-promosid.php
↓
X
📄 del-slide.php
↓
X
📄 del-user.php
↓
X
📄 delete_qris.php
↓
X
📄 edit-member.php
↓
X
📄 edit-user.php
↓
X
📄 end-session.php
↓
X
📄 error_log
↓
X
📄 getwinner.php
↓
X
📄 getwinner_2.php
↓
X
📄 index.php
↓
X
📄 integapi.php
↓
X
📄 minimal.php
↓
X
📄 nexus.php
↓
X
📄 post-chat.php
↓
X
📄 post-status.php
↓
X
📄 proses-group.php
↓
X
📄 proses_topup-manual.php
↓
X
📄 proses_topup.php
↓
X
📄 proses_withdraw.php
↓
X
📄 qris.php
↓
X
📄 reject_topup.php
↓
X
📄 reject_withdraw.php
↓
X
📄 setting.php
↓
X
📄 slide-status.php
↓
X
📄 social.php
↓
X
📄 topup.php
↓
X
📄 update_qris.php
↓
X
📄 user-game.php
↓
X
📄 user-status.php
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: edit-member.php
<?php require('../session.php'); // Input $postID = $_POST['postID'] ?? ''; $pass_raw = $_POST['pass'] ?? ''; $full_name = $_POST['full_name'] ?? ''; $email = $_POST['email'] ?? ''; $no_hp = $_POST['no_hp'] ?? ''; $akun = $_POST['akun'] ?? ''; $no_rek = $_POST['no_rek'] ?? ''; if (empty($postID)) { header('Location: /kerbau/member.php?notif=invalid'); exit; } if ($pass_raw == '') { mysqli_query($conn, " UPDATE tb_user SET full_name = '$full_name', no_hp = '$no_hp', email = '$email' WHERE cuid = '$postID' ") or die(mysqli_error($conn)); } else { $pass = password_hash($pass_raw, PASSWORD_DEFAULT); mysqli_query($conn, " UPDATE tb_user SET pass = '$pass', full_name = '$full_name', no_hp = '$no_hp', email = '$email' WHERE cuid = '$postID' ") or die(mysqli_error($conn)); } // update bank mysqli_query($conn, " UPDATE tb_bank SET akun = '$akun', no_rek = '$no_rek', pemilik = '$full_name' WHERE userID = '$postID' ") or die(mysqli_error($conn)); // ✅ FIX: redirect tanpa $urlweb header('Location: /kerbau/view.php?postID=' . $postID . '¬if=1'); exit; ?>
SIMPAN PERUBAHAN