| Current Path : /hdd/hdd11/www/sbogat/www/register/ |
| Current File : /hdd/hdd11/www/sbogat/www/register/responsemail.php |
<?php
header('Access-Control-Allow-Origin: *');
date_default_timezone_set("Europe/Sofia");
$em=$_GET["u"];
$em="sbpr_".$em."";
$em=sha1($em);
include("./conn.php");
$cnt=0;
$chkusr=mysqli_query($db, "SELECT * FROM `usrs` WHERE `e` LIKE LOWER('".$em."')");
while ($rchkusr=mysqli_fetch_row($chkusr))
{
$cnt++;
}
if ($cnt>0)
{
print("no");
}
else
{
print("ok");
}
mysqli_close($db538h9gh598g5h59hgr9ehe98hger89vjrisd89);
mysqli_close($db);
?>