| 1234567891011121314151617 |
- <?php
- define("CLIENTAREA", true);
- require_once(__DIR__ . '/../../../init.php');
- require_once(ROOTDIR . '/includes/dbfunctions.php');
- require_once dirname(__FILE__) . '/zimbraSingle.inc';
- $allowed_host = 'admin.seecure.ch';
- $host = parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST);
- if(substr($host, 0 - strlen($allowed_host)) != $allowed_host) {
- die("This file cannot be accessed directly");
- }
- if(zimbraSingleDoesEMailExist($_GET['name'], $_GET['domain'])) {
- echo 'no';
- } else {
- echo 'yes';
- }
|