SW/assets/php/common/checkEmail.php

15 lines
353 B
PHP
Raw Permalink Normal View History

2021-07-02 18:08:16 +02:00
<?php
include('../../../assets/php/config.php');
include('../includes/user_dao.php');
$bd = new UserDAO('complucine');
if($bd){
$user = $bd->selectUserEmail(strtolower($_GET["email"]));
if ($user->data_seek(0)) {
echo "!avaliable";
}
else{
echo "avaliable";
}
}
?>