function handle_post($action_file = null) { global $global_form_data, $global_form_error; unset($global_form_data); unset($global_form_error); if (!empty($_POST['form_handler'])) { $msg_handler = new FormHandler(); $msg_handler->block_module_name = $_POST['form_handler']; $msg_handler->action_file = $action_file; $msg_handler->manage_post(); } return; }