Update sertexID.lua
This commit is contained in:
parent
d37cdd029c
commit
ddfc2c918c
1 changed files with 6 additions and 1 deletions
|
@ -42,7 +42,12 @@ function checkUser(username)
|
||||||
end
|
end
|
||||||
|
|
||||||
function sendSMS(username, password, to, msg)
|
function sendSMS(username, password, to, msg)
|
||||||
|
local send = http.post(SERVER.."send.php","user="..username.."&password="..password.."&to="..to.."&message="..message).readAll()
|
||||||
|
if send = "true" then
|
||||||
|
return true
|
||||||
|
else
|
||||||
|
return false,send
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function updateSMS(username, password, all, from)
|
function updateSMS(username, password, all, from)
|
||||||
|
|
Loading…
Reference in a new issue