Files
Testing/mailservices/bateworld/verify_email.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

27 lines
549 B
PHP

<?php header('Content-type: application/json');
$em="";
if ( !defined('PATHTOINCLUDES') ) define('PATHTOINCLUDES', $_SERVER["DOCUMENT_ROOT"] . '/mailservices/includes/');
include(PATHTOINCLUDES."base.php");
$dconn=dbconnect2();
if(isset($_GET["emailaddress"])){
$emailaddress=$_GET["emailaddress"];
if(checkEmail($emailaddress))
{
$msg="good";
}
else
{
$msg="bad";
}
$arr = array ('result'=>$msg);
echo json_encode($arr);
exit();
}
else
{
$msg="email blank";
$arr = array ('result'=>$msg);
echo json_encode($arr);
exit();
}
?>