Location: PHPKode > projects > JavaScript PHP Window Manager > jpwm0.32/php/jpspan.php
<?php
	require_once 'jpspan/JPSpan.php';
	require_once JPSPAN . 'Server/PostOffice.php';
	require_once JPSPAN . 'Serializer.php';
	require_once 'class.jphandler.php';
	
	$S = & new JPSpan_Server_PostOffice();
	
	$S->addHandler(new jpHandler());
	
	if (isset($_SERVER['QUERY_STRING']) && strcasecmp($_SERVER['QUERY_STRING'], 'client') == 0)
	{
		define('JPSPAN_INCLUDE_COMPRESS', FALSE);
		$S->displayClient();
	}
	else
	{
		require_once JPSPAN . 'ErrorHandler.php';
		$S->serve();
	}
?>
Return current item: JavaScript PHP Window Manager