File: cricket.sms

package info (click to toggle)
smssend 3.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,232 kB
  • ctags: 114
  • sloc: sh: 11,314; ansic: 2,368; perl: 104; makefile: 58
file content (31 lines) | stat: -rw-r--r-- 952 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## cricketcommunications.com www.cricketcommunications.com ##
# Version .01
# by David Monk <david@purplebear.net>
# Error codes :
#  1 -> Bad input phone number
#  2 -> Error sending message

NbParams 3
%Tel : The number should be 10 digits
%CallBack : Your callback number
%Message Size=143 Convert : Your message

# Get the form
PostURL http://www.cricketcommunications.com/text/sendto_sms_system.asp
Referer http://www.cricketcommunications.com/text/SendMessage.asp
PostData from=\%CallBack%&msg=\%Message%&cricket_phone_number=\%Tel%
GO

# Send message
PostURL http://www.cricketcommunications.com/text/SendTo_SMS_System.asp?Step=2
Referer http://www.cricketcommunications.com/text/sendto_sms_system.asp
PostData from=\%CallBack%&msg=\%Message%&cricket_phone_number=\%Tel%

Search Invalid phone
 ErrorMsg 1 Your message could not be delivered
ElseSearch Message Sent
 PrintMsg  Your message has been sent
Else
ErrorMsg 2 Error sending message
GO