
PCM-7130 then sent the SMS to cell phone.
TwSMS is a SMS sending company in TW. It provides many methods
for sending SMS to cell phone by user. Those methods are web interface,
mail to SMS and API interface which includes PHP, perl, Java, JSP and ASP.
The PCM-7130 used the PHP to send the SMS to cell phone via TwSMS in
this thesis.
HTTP
Low layer Low layer
TCP/IP
Internet
PHP
Script
HTTP
TCP/IP
TW-SMS
User name:
Password:
Phone Number:
Massage:
Send SMS
PCM-7130SMS Platform
1.
3.
4.
2.
Figure 30. The SMS Sending Diagram
Figure 30 illustrates the SMS sending system using the TCP/IP protocol
stack in this thesis.
Edit the sms.php file:
The sms.php is a php script file of SMS sending that provided by
TwSMS. The file need to edit before below steps and it includes four
important parameters, which are:
z Username: Registered username on TwSMS web page. Using the
php API to send the SMS need this username which is registered
on TwSMS web page.
z Password: The password is registered with username as above.
z Phone Number: The cell phone number for sending SMS.
z Massage: The massage for sending SMS, the size is limit at 160
chars.
51