Password Recovery
$error"; } ?>✅ Password retrieved successfully! Redirecting to login...
Your Account Details
Name:
Email:
Phone:
Password:
--- ✅ Updated Features: 1️⃣ Email/Phone डालने के बाद "Retrieve Password" वाला फॉर्म गायब हो जाएगा। 2️⃣ अगर डेटा सही होगा, तो Name, Email, Phone और Password (Text ID) Show होगा। 3️⃣ 3 सेकंड बाद log.php पेज पर ऑटोमैटिक Redirect हो जाएगा। 4️⃣ अगर गलत Email/Phone डालेंगे, तो Error Message Show होगा। --- 🎯 अब 100% सही काम करेगा! 🚀 अगर और कोई बदलाव चाहिए तो बताइए। ✅ Updated Password Recovery Code अब, Email/Phone डालने के बाद "Retrieve Password" का फॉर्म गायब हो जाएगा, और यूज़र को सीधे लॉगिन पेज (log.php) पर भेज दिया जाएगा। --- 🔹 recover_password.php (Updated Code) prepare("SELECT name, email, phone, text_id FROM users WHERE email = ? OR phone = ?"); $stmt->bind_param("ss", $input, $input); $stmt->execute(); $stmt->store_result(); if ($stmt->num_rows > 0) { // डेटा को Fetch करें $stmt->bind_result($name, $email, $phone, $text_id); $stmt->fetch(); $success = true; // 3 सेकंड बाद लॉगिन पेज (`log.php`) पर Redirect करें header("refresh:3;url=log.php"); } else { $error = "⚠️ कोई खाता इस Email या Phone से जुड़ा नहीं है!"; } $stmt->close(); } ?>Password Recovery
$error"; } ?>✅ Password retrieved successfully! Redirecting to login...
Your Account Details
Name:
Email:
Phone:
Password:
--- ✅ Updated Features: 1️⃣ Email/Phone डालने के बाद "Retrieve Password" वाला फॉर्म गायब हो जाएगा। 2️⃣ अगर डेटा सही होगा, तो Name, Email, Phone और Password (Text ID) Show होगा। 3️⃣ 3 सेकंड बाद log.php पेज पर ऑटोमैटिक Redirect हो जाएगा। 4️⃣ अगर गलत Email/Phone डालेंगे, तो Error Message Show होगा। --- 🎯 अब 100% सही काम करेगा! 🚀 अगर और कोई बदलाव चाहिए तो बताइए। recover_password.php