/    Sign up×
Community /Pin to ProfileBookmark

sending SMS text mesage to the cell phone? HOW?

Hey all
I want to send SMS to a cell phone (US Carriers only) but I dont want to pay money for the service to some 3rd parties, does any one know how can i do that with PHP.

hanks for help!

to post a comment
PHP

12 Comments(s)

Copy linkTweet thisAlerts:
@Phill_PaffordJul 09.2008 — You could just use the mail() and send to the numbers email address

See ref:

http://en.wikipedia.org/wiki/SMS_gateway#Carrier_Provided_Email_or_Web_to_SMS_gateways

[email][email protected][/email]
Copy linkTweet thisAlerts:
@alexusauthorJul 09.2008 — yea I know that old method, the problem is that what if I dont know who is the carier of the user. Is there any open database where i can look up who owns the number (i mean what carier)
Copy linkTweet thisAlerts:
@Phill_PaffordJul 09.2008 — I don't think there are any free carrier look ups, if you find one let me know.

The best one I found is

http://www.fonefinder.net/

but I don't think it's 100%, I think they use static data...

What are you trying to do?
Copy linkTweet thisAlerts:
@alexusauthorJul 09.2008 — i need to do a ssuport page, users send us the ticket and if ticket is resolved I want to send SMS saying that the problem is solved.

I can ask users to tell me their carier but from past expiriance they scruwing that up big time ?
Copy linkTweet thisAlerts:
@alexusauthorJul 09.2008 — thats interesting website ?

I want teir database ? it even gives the DID switch number
Copy linkTweet thisAlerts:
@Phill_PaffordJul 09.2008 — without paying for the look up I don't think this can be done.

I think if this is a large scale customer project (Customers numbers exceed 100), I would think about a service.

If its something smaller you might be able to do a screen scrape from google's phone book search

http://www.google.com/search?hl=en&pb=r&q=phonebook%3A+&btnG=Search+PhoneBook

but again not all numbers will show a result.

maybe if you could figure out how to forward a SMS message from your phone to another number?
Copy linkTweet thisAlerts:
@alexusauthorJul 09.2008 — i got 4000 curent custommers ? and still no money ?

That wha I though to get prepaid phone with unlimited messaging but then i have to run a server for it ? so im looking for something esier... i cant beleve there is no free service for this ?
Copy linkTweet thisAlerts:
@Phill_PaffordJul 09.2008 — there is free software to send SMS/Text messaging, but it's the carrier look up that costs money.

I guess you could write a script to run once a month that would hit all the major carriers and keep this info in a DB table so you could use it to alert customers.

Step #1

Notify your customers they will get a check text message once a month to confirm they are receiving the text message. Ask that they reply to your message to confirm.

This could be automated to try to attempt to send a message to a specific number to all the carriers email addresses (For my first post)

so it would loop through the carrier's emails and pre-pend the number and try to send.

In theory the message's should fail unless it is a valid number on that carrier.

Step #2

forward all incoming text messages from your phone to an email address on your server. Have PHP parse through these to find the number and the carrier it had a successful message sent on.

Step #3

Enter this data cell#, carrier into a database table for your daily text message alerts.

Step #4 re-run the carrier search script in step #1 once a month
Copy linkTweet thisAlerts:
@alexusauthorJul 09.2008 — In theory the message's should fail unless it is a valid number on that carrier.

but in practice it will only bounce after few hours or days, then i have to add ID in the subject and automatically process bounced mesages
Copy linkTweet thisAlerts:
@Phill_PaffordJul 21.2008 — did you ever find a solution?

I think you might need to go with someone like www.openmarket.com
Copy linkTweet thisAlerts:
@donatelloJul 21.2008 — How does a service like "Twitter" do it?
Copy linkTweet thisAlerts:
@alexusauthorJul 21.2008 — welll i never found right solution but, I did it in a lame way... i just took the email addreeses resolutions for all major operators in NYC (Verizon, ATT, Sprint, T-Mobile) and I sende the mesage to the same # on all networks. I dont get any "undelivarables" from any operator for some reason, but it does seam to work.
×

Success!

Help @alexus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...