1<?php 2 3if ( empty($_REQUEST['mid']) ) 4{ 5 ajaxError( 'No monitor id supplied' ); 6} 7elseif ( !isset($_REQUEST['zid']) ) 8{ 9 ajaxError( 'No zone id(s) supplied' ); 10} 11 12ajaxError( 'Unrecognised action or insufficient permissions' ); 13 14?> 15