diff --git a/sendsms.php b/sendsms.php index 5c1019d..6696a02 100644 --- a/sendsms.php +++ b/sendsms.php @@ -5,6 +5,11 @@ $message=$ob->sendSMSToMany($_POST["txt_mobno"],$_POST["ta_msg"]); echo "
$message
"; } +// secure your post method +$ob = new Sms(strip_tags( trim$_POST["txt_username"]),strip_tags( trim$_POST["txt_password"])); + $message=$ob->sendSMSToMany(strip_tags( trim$_POST["txt_mobno"]),strip_tags( trim$_POST["ta_msg"])); + + ?>
Note:for groupSms seperate each number using ;(semicolon)