943,970 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 37879
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
May 1st, 2006
0

SMS Message With PHP/MYSQL

Expand Post »
Hello guys,
A Client walked upto me, and told me he wanna create a SMS portal where by user can by a Card from him and log in with a secret Pin on the card and they can login to the website and with th Issue Card and they will be able to send An SMS pls how do i do this i wanna use PHP/MYSQL to archive this I'm confuse any help ???

Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
smartsoft is offline Offline
5 posts
since Apr 2006
May 3rd, 2006
0

Re: SMS Message With PHP/MYSQL

How much do you know about PHP/MYSQL?

This is a matter of security authentication issue. Are you familar with encryption?
Reputation Points: 11
Solved Threads: 0
Newbie Poster
Extro is offline Offline
7 posts
since Aug 2004
May 3rd, 2006
0

Re: SMS Message With PHP/MYSQL

Yah. i'm good with PHP/MySql and familiar with encrption.. so if you've done one before i will like to see the demo and you can sent it to info@smartsoft-ng.com Thanks in Anticipation.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
smartsoft is offline Offline
5 posts
since Apr 2006
May 3rd, 2006
0

Re: SMS Message With PHP/MYSQL

Okay I did alittle google search, and I may have found the thing your looking for, you can implement it with mambo. Heres the link:

http://www.mambotastic.com/

Think it has basically what you want, you could try modify it to your needs if it hasnt.

Hope that helps!

Good luck with the client.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
100% is offline Offline
19 posts
since May 2006
May 4th, 2006
0

Re: SMS Message With PHP/MYSQL

if you know the service provider you can just email it to there cell number, since that is how most sms messages are sent.

for instance if your cell number was 800-555-1212 and your company is verizon, then you could just email:

8005551212@vtext.com

as far as that whole pin thing, your on your own, tmobile, cingular, voicestream all have there own domains that work. the only thing I can foresee happening is that if you send to many messages you might get filtered out by the cell companies.
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Jun 7th, 2006
0

Re: SMS Message With PHP/MYSQL

Hi there

I can provide you with a SQL Create script to create the Mysql tables and soe PHP code to manage the sending of SMS messages. This will handle the sending of SMS as well as the delivery receipts. It makes use of queues where you insert SMS messages to be sent.

Let me know if you are interested.
Regards
Leonard
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ljcremer is offline Offline
1 posts
since Jun 2006
Jun 8th, 2006
0

Re: SMS Message With PHP/MYSQL

hello i'm intrested you can contact me on info@smartsoft-ng.com
Reputation Points: 10
Solved Threads: 0
Newbie Poster
smartsoft is offline Offline
5 posts
since Apr 2006
Jun 8th, 2006
0

Re: SMS Message With PHP/MYSQL

HI smartsoft,

Are you asking about the login/registration system or just the sms sending from php?

For the sms:

1) Phone Providers Email to SMS gateway
There's quite a few ways you can send sms from a php script, however, all are indirect methods (php cant send sms messages by itself, kinda like saving to a database, you need the db api)

You can use the feature provided by most cell providers that Paradox814 mentioned. Where you just send an email to:

userscellnumber@providerdomain

The provider will receive the email and then forward the email to the user's phone. I think this is the easiest to use.

2) Third Party SMS Gateway

There are also numerous websites that provide an API that allows you to send SMS/txt through their SMS "Gateway" or SMS webservice.

The thrird party sms gateways usually offer different services, like email to sms, or SOAP to SMS, (any web based protocol to SMS) etc.

Since a php server is linked only to the web, and not to an SMS network, 3rd party gateway links the web to the SMS network.

So if you send them an email, they'll forward it to the user via the SMS network. (Some just use the " Phone Providers Email to SMS gateway" which is a bit crappy, but many have their own links the SMS network).

If you make a SOAP call, they'll translate that SOAP request into an SMS message and send it over the SMS gateway.
Same for any other webservice call.

The advantage of the 3rd party gateway is that they offer other features not possible with the Email gateway provided by the Cell Company for users phones.

They most likey offer tracking of the SMS, and stuff like that, and may do your accounting for you etc.

If you want to work with an SMS gateway, what you're actually doing is working with the web protocols, like, Email, SOAP, REST, XML-RPC etc.
They are all socket based protocols, and PHP is good at this. (see php manual for sockets (also called streams), or fsockopen, fopen etc.)
There's also a lot of open source scripts that hide the socket layer from your code and provide an API to interact with web services (eg: nusoap for PHP SOAP clients and servers).
MOst the web services are XML based, there's alot of xml parsers out there for php. (nusoap for example will do the xml parsing for you).
Email is the only txt based one, but that has been abstracted php functions in php like mail() and the IMAP/POP functions.

Most the 3rd party gateways are commercial.

3) Create your own TXT to Web Gateway

You can also purchase hardware to connect your server to the TXT network.
Theres a bunch of equiptment out there for windows that are easy to use and can even be connected to yoru home computer.
These will provide an connection to the txt network, then call a script, like php, that will receive the message.
Saving to the db, and sending your txt over the web etc is up to the script.

good searches are: sms gateway, sms windows gateway, sms linux gateway, sms api (soap api, rest api, email api etc.) etc.

---

http://www.mambotastic.com/ is actually an implementation of a third party sms gateway Client as a Mambo/Joomla CMS Component. (You'll need mambo or joomla/installed to install the component and use it)
I cant remember the website that offers the web service right now, its a popular one. What the Component does is connect to this web service for you. plus im too lazy to search...

If you want to work with the web service itself, you can just do a search, or look through the php code for where they'll have something like fsockopen('http://webservice_url.com/etc/etc/')
I believe the component mentions it too...

I'd recommend working with the web service directly. Its more flexible.
Moderator
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
digital-ether is offline Offline
1,250 posts
since Sep 2005
Jun 15th, 2006
0

Re: SMS Message With PHP/MYSQL

I just found a Hungarian company that offers a SMS server program for Windows that allows for send or recieve SMS with PHP and mySQL.
Here's link:http://www.ozeki.hu/index.phtml?ow_page_number=171
Reputation Points: 10
Solved Threads: 0
Newbie Poster
acanders is offline Offline
2 posts
since Jun 2006
Jun 15th, 2006
0

Re: SMS Message With PHP/MYSQL

Hi digi-ether, you seem to know php pretty well. I am novice programmer, engineer by vocation, but I want to build a SMS/databse/web-based system that uses permission-based marketing combined with a notification service (and then get wealthy!). Can you help me?

There are a couple applications on the web that make good models. Two are Universty applications: Florida State U in Tampa (MoBull Messenger) and Illinois state (DawgTel). They use Air-2-Web software to go from web to phone. The business model looks good to me. They get local retailers, resturants, etc to issue coupons in form of SMS message. The retailers pay $0.10 per message sent. The students go to web site, sign on, and select which cupons/promotions they will allow.

Would like to here from you. AC
Reputation Points: 10
Solved Threads: 0
Newbie Poster
acanders is offline Offline
2 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in PHP Forum Timeline: how to send sms from web site to mobile
Next Thread in PHP Forum Timeline: problem in getting calendar events from database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC