/ Published in: PHP
Expand |
Embed | Plain Text
<?php $_SESSION[next_send] = 0; " .'X-Mailer: PHP'); // DO NOT EDIT ANYTHING AFTER THIS !!! // class MyMailer { private $postdata = null; private $message = null; public function __construct($post) { if (REFERER == $_SERVER['HTTP_HOST'] && CODE == $post['code']) { $this->handleMessage($post); } else { echo "there is something wrong!"; } } private function handleMessage($post) { foreach ($post as $key => $value) { { } } $this->sendMail(); } private function sendMail() { { } } } $mail = new MyMailer($_POST); ?>
You need to login to post a comment.
