") ) { die('PHP 5 has problems with PEAR::SOAP Client (8.0RC3) - remove @ before include below to see why'); } if (!@include('SOAP'.DIRECTORY_SEPARATOR.'Client.php')) { die('You must have PEAR::SOAP installed'); } // Just to save manaul modification... $basePath = explode('/', $_SERVER['SCRIPT_NAME']); array_pop($basePath); $basePath = implode('/', $basePath); $url = 'http://'.$_SERVER['SERVER_NAME'].$basePath.'/7.php?wsdl'; if (!isset($_GET['y'])) $_GET['y'] = date('Y'); if (!isset($_GET['m'])) $_GET['m'] = date('n'); $wsdl = new SOAP_WSDL ($url); echo ( '
'.$wsdl->generateProxyCode().'' ); $calendarClient = $wsdl->getProxy(); $month = $calendarClient->getMonth((int)$_GET['y'],(int)$_GET['m']); if ( PEAR::isError($month) ) { die ( $month->toString() ); } ?>
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
" ); } else { echo ( " | ".$day->day." | " ); } if ( $day->isLast === 1 ) echo ( "|||||
Enter Year and Month to View: