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_BasicAuth();
18 $result = $auth->getUserPass();
20 if (!$result || $result[0]!=$u || $result[1]!=$p) {
22 $auth->requireLogin();
23 echo "Authentication required\n";