$func(); } else { $data = array('error' => 'Unbekannte Funktion '.$_POST['func'].'.'); } } json_return($data); ?>