Mini Shell

Direktori : /home/rizant5/www/student/
Upload File :
Current File : /home/rizant5/www/student/email-verify.php

<?php
// include ("index.php");

// if(isset($_GET["usf"]) && isset($_GET["qcd"]) && $_GET["usf"] !== "" && $_GET["qcd"] !== ""){

//     $studenId = mysqli_real_escape_string($connt, $_GET["usf"]);
//     $authKey = mysqli_real_escape_string($connt, $_GET["qcd"]);

//     $validateMail = mysqli_query($connt, "SELECT * FROM student_reg WHERE stu_id=$studenId AND reg_code=$authKey");
//     $numRow = mysqli_num_rows($validateMail);

//     if($numRow > 0){
//         $verifyKey = mysqli_query($connt, "UPDATE student_reg SET stu_status='1'");
//         header("location: index.php");
//     }
//     else{
//         echo "Error: Link not valid";
//     }


// }

?>

Zerion Mini Shell 1.0