redirectWithCode(); usleep(50000); echo action_msg($redirectUrl, 200); exit; } catch (MyException $e) { echo action_msg($e->getMessage(), $e->getCode()); exit; } ?>