0) { Print("MT ID : " . $fd); $ok = "success"; } else { print("Please refer to API on Error : " . $fd); $ok = "fail"; } } else { // no contact with gateway $ok = "no Contact Fail"; } return $ok; } $status = gw_send_sms('60166611555','Script Test'); echo $status; ?>