if ($_POST["action"] == "dell_all") { fopen("../msgs.txt","w+");header("Location:".$_SERVER['HTTP_REFERAR']);}