BLACKSITE
:
216.73.217.4
:
104.37.75.190 / alpenpass.ca
:
Linux server3.pointsplan.com 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
:
/
home2
/
apca
/
www
/
Upload File:
files >> //home2/apca/www/check_availability.php
<?php require_once("includes/config.php"); // code user email availablity if(!empty($_POST["emailid"])) { $email= $_POST["emailid"]; if (filter_var($email, FILTER_VALIDATE_EMAIL)===false) { echo "error : You did not enter a valid email."; } else { $sql ="SELECT EmailId FROM tblusers WHERE EmailId=:email"; $query= $dbh -> prepare($sql); $query-> bindParam(':email', $email, PDO::PARAM_STR); $query-> execute(); $results = $query -> fetchAll(PDO::FETCH_OBJ); $cnt=1; if($query -> rowCount() > 0) { echo "<span style='color:red'> Email already exists .</span>"; echo "<script>$('#submit').prop('disabled',true);</script>"; } else{ echo "<span style='color:green'> Email available for Registration .</span>"; echo "<script>$('#submit').prop('disabled',false);</script>"; } } } ?>