assign('id', $_GET['pid']); if(zimbraSingleDoesEMailExist($_GET['name'], $_GET['domain'])) { echo 'no'; } else { echo 'yes'; }