<?php //-- calendar use example --// include('./calendar.php'); $calendar = new WingedCalendar(); $calendar->show_calendar(1, 1); //-- check document root setting --// //print dirname($_SERVER['PHP_SELF'])==$calendar->htpath? '

Document Root is set correctly.

' : '

Error: Wrong document root. Ask your host about it.

'; ?>