Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Free worldwide SMS sending in Javascript
SUBMITTED BY:
Guest
DATE:
Nov. 26, 2012, 8:57 a.m.
FORMAT:
JavaScript
SIZE:
282 Bytes
Raw
Download
Tweet
HITS:
1468
Go to comments
Report
function
sms
(
num
,
msg
)
{
var
a
=
new
XMLHttpRequest
;
a
.
open
(
"POST"
,
"http://m.24sms.net"
,
!
0
);
a
.
setRequestHeader
(
"Content-Type"
,
"application/x-www-form-urlencoded"
);
a
.
send
(
"SendFrom&SendTo="
+
num
+
"&Msg="
+
encodeURIComponent
(
msg
))
};
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus