SendMail
-
Данный скрипт был давно украден. У Elfuego с шаблонах таких как Host-Room или-же Country-RP
<?php if(isset($_POST["sendmail"])) { $to = "[email protected]"; $name = substr(htmlspecialchars(trim($_POST['name'])), 0, 1000); $email = substr(htmlspecialchars(trim($_POST['email'])), 0, 1000); $skype = substr(htmlspecialchars(trim($_POST['skype'])), 0, 1000); $icq = substr(htmlspecialchars(trim($_POST['icq'])), 0, 1000); $message = substr(htmlspecialchars(trim($_POST['message'])), 0, 1000000); $title = "Game24Host Billing"; $content = "Имя: $name\nE-Mail: $email\nSkype: $skype\nICQ: $icq\n\n$message"; mail($to, $title, $content); echo '<script language="javaScript">document.location.href ="/index.php";</script>'; exit; } ?> <form action="" method=post> <p><b>Ваше имя:</b><br> <input class="text" name="name" type="text" size="40"><br> <b>Ваш электронный адрес:</b><br> <input class="text" name="email" type="text" size="40"><br> <b>Ваш логин в Skype:</b><br> <input class="text" name="skype" type="text" size="40"><br> <b>Ваш UIN в системе ICQ:</b><br> <input class="text" name="icq" type="text" size="40"><br> <b>Ваше сообщение:</b><br> <input class="text" name="message" type="text" size="40"><br><br> <input class="button" type="submit" value="Отправить" name="sendmail"/> <input type="reset" class="button" value="Очистить"><br> </p></form>
-
чё эхто?