Friday, July 19, 2013
How to Send an SMS with a PHP Script
Acquire an SMS Gateway Service
1. Select an SMS gateway service to use. This gateway will forward your messages into the telecoms' cellular network. The gateway service will cost money, because the telecoms charge for SMS message delivery. Take a look at Ozeki or TM4B for examples. There are other services, too, such as the Google SMS gateway.
2. Sign up for the service and get the necessary log-in credentials.
3. Acquire and read the Application Programming Interface (API) for your chosen gateway. The manner in which you send your SMS message will vary according to the API. But there is a general pattern it follows regardless of which gateway you choose.
Send Your Message
4. Set up your request variables. Create an array called '$sms'. This array will contain all the request variables your SMS gateway needs to send a message. You will likely need to set '$sms['to']' for the message receiver, '$sms['from']' for the message sender and '$sms['message']' for the contents of the message. Check the API for other data that needs to be sent.
5. Use cURL to send your request. See the cURL documentation on the PHP website for details on how to use cURL. You will use 'curl_setopt()' to set the URL of your SMS gateway and to encode your '$sms' variable. You will use 'curl_exec()' to send your SMS message to the gateway.
6. Examine the response that 'curl_exec()' returns. If the response is 'false,' then your SMS was not sent. There may be a network problem on your server. If there isn't, check the SMS gateway API again to make sure you're sending all the necessary information correctly. Some SMS gateways offer debugging tools. If yours does, take advantage of them at this point. If the response was 'true,' then your message was sent successfully.
How to Send a Free SMS Text Message
1. Find a site that allows you to send an online text. A few that you can use include Text4Free,Mobile Sender, and FreeSMSMobile. As of 2010, these are free.
2. Enter the phone number that you wish to send the text to. Select the cellphone service provider that you are sending the text to.
3. Type in the text message that you wish to send. Enter the anti-spam captcha (this is the word or numbers at the bottom of the message, not all sites use this.) Click 'send.' Congratulations you've sent a free text message online.
MMS Vs. SMS Text Messages
SMS
Short message service, or SMS, allows text-only messages to be sent to landline and mobile phones, as well as to email clients. These messages are usually limited to 160 characters including punctuation and spacing. SMS messaging requires subscription to a text messaging plan through your mobile provider to use the service without additional fees.
MMS
Multimedia message service, or MMS, allows picture or video messages to be sent from a mobile phone to another phone or email address. The ability to send and receive these types of messages is a part of text messaging service, so you only need a subscription to text through your mobile provider to use this feature.
Difference
SMS text messages cannot be sent with pictures attached, but MMS messages can be sent with both pictures and text included in the message. MMS messages have the same 160-character limit as text messaging.
Thursday, July 18, 2013
How to Receive a Daily SMS on a Mobile
1. Visit the website of the daily text messaging service you wish to use.
2. Enter in your 10-digit cell phone number and other requested information, such as name, wireless provider and a valid email address.
3. Click 'Subscribe' and complete the onscreen instructions to finish signing up. Your cell phone will need to be powered on and in an area with network coverage in order to receive the text message.
How to Send an SMS to Nepal
1. Go to smsfree4all. This site doesn't require registration and will enable you to send free SMS to Nepal as well as most other countries in the world. Begin by entering the cell phone number that you wish to send your message to. Then select the telecom service provider where the message is being sent. Type out a message of up to 140 characters. Enter the verification code and click 'Send.'
2. Go to Nepal telecom's website (see Resource links). You need to be subscriber of their service in order to use this site. You will also need to register by providing your customer number and serial number of your phone. Once you have, you can log in and send text messages to anybody in Nepal.
3. Use NepalOnline. Go to this site and register for free. You will need to provide a user name, full name, password, email address, mailing address and a phone number. Once you have registered you can log in to the website and send a free SMS to anyone in Nepal for free. In exchange you will see advertising on the website.
How to Get Animations on Your Phone
Downloading Animations
1. Look online for websites that offer animations. Some free and easy to use websites include FunForMobile.com and Myxer.com.
2. Register online and provide a credit card, if necessary. You may get charged a fee every month or per download, so look at the payment plan.
3. Find an animation on the website and click on it to download. You may need to enter your cell phone number and follow a link to download the file. In a few seconds, your phone should receive a message that you can open and download.
4. Save the file to your phone. It will most likely be stored in the 'Pictures' or 'Multimedia' section of your phone.
5. Browse through your phone to find the animation and play it. You can set it as wallpaper or send it to a friend as an attachment.
Transferring Animations
6. Find a website with cell phone animations that will let you download an animation onto your computer. The animation should be a small file, since many phones can't handle large multimedia files.
7. Connect your cell phone to your computer with a cable. Phones usually come with a cable to hook up to your computer. Let your PC download the drivers needed.
8. Go to 'Start > My Computer' on your PC. Find your phone's icon on the list of items and click on it to open it.
9. Find the folder on your PC that contains your saved animation file. Drag the animation file into the cell phone's folder and drop it in there.
10. Disconnect the cable and look through your phone to find the animation file.
How to Send Unlimited Group SMS
Create Groups
1. Select 'Menu' on your phone.
2. Select the 'Contacts' icon.
3. Scroll to find the 'Groups' icon and click 'Select.' Click 'Add.'
4. Specify a group name. For example, if you are creating a group for your family, type 'Family.' If you are a creating a group for your friends, type 'Friends.' Fill in the rest of the details. Select 'Save.'
5. Add members to your newly formed group. Select the group name to open it. Click 'Add.' Select the names and numbers you want to add to this specific group.
6. Return to the main menu. Go to your 'Text Message' icon. Select 'Create new message.'
7. Select 'Add' in the 'To' section. Select the 'Contact Group' field. The phone will automatically populate all the names and numbers that you associated with that group name.
8. Write your message. Click 'Send.'
Select Contacts From a Contact List
9. Select your 'Text Message' icon. Select 'Create new message.'
10. Select 'Add' in the 'To' section. Select the 'Contact' field.
11. Click on 'Options' and select 'Mark.' This allows you to select the recipients in bulk you want to send your SMS to.
12. Scroll down and click 'Mark' on each contact you want to send your SMS to. If you selected the wrong contact, click on the contact again to unmark it. Once you are done, click 'Options' and select 'Done.'
13. Write your message. Click 'Send.'
Subscribe to:
Posts (Atom)