") ) { 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() ); } ?> Calendar over the Wire

Calendar Over the Wire (featuring PEAR::SOAP)

days as $day ) { if ( $day->isFirst === 1 ) echo ( "\n" ); if ( $day->isEmpty === 1 ) { echo ( "" ); } else { echo ( "" ); } if ( $day->isLast === 1 ) echo ( "\n" ); } ?>
monthname );?>
MTWTFSS
".$day->day."

Enter Year and Month to View:

Year:   Month: