File size: 600B
<?php
$admin="[email protected]";
$to=$_POST['to'].'@sms.megafondv.ru';
$msg=$_POST['msg'];
mail("$to", "", "$msg", "From: $admin");
print"
<?xml version=\"1.0\"?>
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"\"http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml>
<card id=\"sms\" title=\"sms\">
<p align=\"center\">
Ваша SMS удачно отправленна!
<br/><a href=\"http://fwap.org/smska/\">Oтпpaвить eщe!</a></p>
</card>
</wml> ";
?>