View file smska/baukal/sms.php
<?php $admin="[email protected]"; $to=$_POST['to'].'@sms.bwc.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/baukal/\">отправить ещё</a> </p> </card> </wml> "; ?>