PATH: //home/hwyuvbry/dear.waroenkhoki123.web.id
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 .htaccess
↓
X
📁 .vscode/
X
📁 .well-known/
X
📄 PlayGame.php
↓
X
📁 _next/
X
📄 about.php
↓
X
📄 account_balance.php
↓
X
📁 ajax/
X
📁 assets/
X
📄 auth-login.php
↓
X
📄 auth-register.php
↓
X
📄 callbackQRIS.php
↓
X
📄 carousel_slider.php
↓
X
📄 casino.php
↓
X
📁 cgi-bin/
X
📄 change-pasword.php
↓
X
📁 classes/
X
📄 deposit-progress.php
↓
X
📄 deposit.php
↓
X
📄 details-promo.php
↓
X
📄 details.php
↓
X
📄 egames.php
↓
X
📄 error_log
↓
X
📁 event/
X
📄 footer.php
↓
X
📄 fungsi_umum.php
↓
X
📄 game-popular.php
↓
X
📄 game-recomended.php
↓
X
📄 header.php
↓
X
📄 history-deposit.php
↓
X
📄 history-withdraw.php
↓
X
📄 home.php
↓
X
📄 htaccess-sc-nuke
↓
X
📄 hwyuvbry_blacky.sql
↓
X
📄 index.php
↓
X
📄 index.php##
↓
X
📄 kanvas.php
↓
X
📄 koneksi.php
↓
X
📄 kyc.php
↓
X
📄 logout.php
↓
X
📄 lottery.php
↓
X
📄 lucky-spin.php
↓
X
📄 my-account.php
↓
X
📄 otp.php
↓
X
📄 pragmatic-game.php
↓
X
📄 process_kyc.php
↓
X
📄 process_login.php
↓
X
📄 process_register.php
↓
X
📄 process_reset_password.php
↓
X
📄 promo.php
↓
X
📄 proses_deposit.php
↓
X
📄 qris-progress.php
↓
X
📄 qris.php
↓
X
📄 referal.php
↓
X
📄 rekening.php
↓
X
📁 rtp/
X
📄 setting.php
↓
X
📄 slot.php
↓
X
📄 sports.php
↓
X
📁 staff/
X
📁 svg/
X
📄 telegram_log.txt
↓
X
📄 test-api.php
↓
X
📁 topadmin/
X
📄 update_saldo.php
↓
X
📁 uploads/
X
📄 withdraw-progress.php
↓
X
📄 withdraw.php
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: otp.php
<?php require 'koneksi.php'; require 'vendor/autoload.php'; // Pastikan sudah menginstall Twilio SDK function sendOtp($to, $otp) { $sid = 'YOUR_TWILIO_SID'; $token = 'YOUR_TWILIO_AUTH_TOKEN'; $twilioNumber = 'YOUR_TWILIO_WHATSAPP_NUMBER'; $client = new \Twilio\Rest\Client($sid, $token); $message = "Your OTP is: $otp"; $client->messages->create("whatsapp:$to", [ 'from' => "whatsapp:$twilioNumber", 'body' => $message, ]); } // Proses pengiriman OTP if ($_SERVER['REQUEST_METHOD'] == 'POST') { $nama_pengguna = $_POST['nama_pengguna']; $email = $_POST['email']; $phone = $_POST['phone']; $otp = rand(100000, 999999); // Generate OTP // Simpan data KYC dan OTP ke database $stmt = $koneksi->prepare("INSERT INTO kyc (nama_pengguna_anggota, email, phone, otp) VALUES (?, ?, ?, ?)"); $stmt->bind_param("ssss", $nama_pengguna, $email, $phone, $otp); $stmt->execute(); // Kirim OTP ke WhatsApp sendOtp($phone, $otp); echo "OTP telah dikirim ke WhatsApp."; } ?> <!DOCTYPE html> <html lang="id"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Kirim OTP</title> </head> <body> <form action="send_otp.php" method="POST"> <input type="text" name="nama_pengguna" placeholder="Nama Pengguna" required> <input type="email" name="email" placeholder="Email" required> <input type="tel" name="phone" placeholder="Nomor WhatsApp" required> <button type="submit">Kirim OTP</button> </form> </body> </html>
SIMPAN PERUBAHAN