Problem with 2-way SMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2003 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
I added a GSM SMSC connection and a php script that simply adds a dummy record to my database whenever a message is received... But when i checked the database, i realize the database simply keeps growing even before i send the SMS to this GSM line. What could be the problem here and how should i go about solving it? | |||
Bryce Norwood - NowSMS Support |
Have you tried putting some debug code in your PHP script? I really don't see where NowSMS would be calling the script unless it had a message for it. There could be a problem that if your script returns an error code, NowSMS will keep on calling it over and over again. | |||
Alan |
Thanks Bryce, i figured out the problem and has resolved it. Btw, is there anyway i can send the same text message to multiple receipients? I read about the ContinueURL, but since it is merely a hyperlink, I would have to keep calling it. | |||
Bryce Norwood - NowSMS Support |
Alan, There are two different ways to do this ... If you are going to send to the same recipients time and time again, you may want to create a distribution list, and then you provide the distribution list name instead of a phone number when submitting a message. (Distribution lists are text files stored under the DLISTS subdirectory, so you can also manipulate them with an external program.) If it is a smaller list of phone numbers (less than 8000 characters), then you can enter a comma-delimited list of phone numbers instead of just a single phone number (e.g., phone1,phone2,phone3,phone4). -bn |