3 // !!!! Make sure the Sabre directory is in the include_path !!!
5 // set_include_path('lib/' . PATH_SEPARATOR . get_include_path());
8 date_default_timezone_set('Canada/Eastern');
11 require_once 'Sabre/autoload.php';
16 $auth = new Sabre_HTTP_DigestAuth();
19 if ($auth->getUsername() != $u || !$auth->validatePassword($p)) {
21 $auth->requireLogin();
22 echo "Authentication required\n";