View file sms/sms.php
<?php $to=$_POST['to']; $msg=$_POST['msg']; mail(" $to","noFx", "$msg"); echo' <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card ontimer="index.php" title="Sms"> <timer value="10"/> <p align="center"> Sms отправлена </p> </card> </wml> '; ?>