Sending "alert/notification" to cell phone from website - php

I was wondering if there was a way for a website to send an alert/notification to a cell phone (smart phone, android, iphone... stuff like that) where the notification will ask the user a question and they have to answer the question and the response is sent back to the website and their answer is logged in the database.
I would also like to know if this notification could have checkboxes? I am needing this for a project and would like to know if there is anything out there like this.
If you need more description, please let me know.
Thanks in advance!

Short of building an application for each specific phone to handle this alert, not really.
What I would do if I were you... allow users to subscribe to these alerts. When you send them, send them a link to a mobile web page. Now, keep in mind that most people don't have a data plan, or even know what to do with it. It would be best to allow replies over SMS as well. Without more details about what you are doing, it is hard to give a better answer.
Google around for an SMS Gateway. There are nearly infinite options with various pricing... so you will need to find the one best for you. Alternatively, you can send messages to the SMTP address. For example, 0123456789#vtext.com will send a text message to a Verizon customer with the number of 0123456789. SMS is more reliable though.

C2DM will solve this problem, for newer Android devices.

Related

Creating a custom webmail - What should i be aware of [INFRASTRUCTURE]?

I'm trying to create a custom webmail, for one of our products, that has thousand of users.
We would like to create the webmail by our own, and let the user sends it by his/hers personal email (One that they already have, and is created)
I know that HubSpot CRM has something like that, but i don't know what i should be aware of, or how i can do it.
I know there I's a lot with spam, reputation etc, but i need some guidance. Can anyone help me out?
It could be awesome to do it with SendGrid integrated.
Kind regards
You may start using a open source webmail client like Roundcube or Rainloop. You can customize the client and use any third party MTA, or just use your current MTA in your own server.
If you want something more advanced, you could pipe all emails from a domain to your custom application and handle everything internally.

how to send an sms after a user registers on a website using php

Hello I have a registration form, that carries fields such as name, phone number and email. These details are sent to a database, I am trying to implement a system whereby after registration, an SMS is sent to the user who filled the form as a form of confirmation, instead of emails, I know I need a provider to do this, but from the region where I come from i haven't seen a reliable company that can do this, so I am asking for the best suggestions, I am building with PHP programming language.
We do a similar thing. We personally use TextMagic but most proviers are the similar. You are generally given a few options, the most common being an email proxy or a web page call. For instance, to send messages we use:
mail('07123456789#textmagic.com', 'SECRET_CODE', 'Our message');
Here, there mobile number before the #textmagic.com is the number we're sending to, the SECRET_CODE is our pass key and Our message whatever we want to send.
The web version would be similar, something like:
https://www.textmagic.com/app/api?username=xxxx&password=yyyy& cmd=send&text=Our%20message&phone=447123456789
Really what you want to do is find a service like this then check the API documentation. It's a very simple thing to do, but your question is a little too general to give anything more specific.

user verification using SMS (php)

I am stuck in a situation in which when a user registers, he/she get a confirmation SMS on his/her mobile number, and he/she able to confirm their application by replying to the confirmation SMS, be repling like YES/NO to that confirmation sms..
Is there any SMS gateway available which provides the suitable functionality, I mean an API which takes user input from sms reply..
thanks in advance
Twilio has the ability to receive sms messages.
https://www.twilio.com/docs/quickstart/php/sms
There is a definite solution available for this. Try exploring with FrontLine SMS that offers a similar functionality, though you will have to then use a 10 digit registered number to send your confirmation SMS.
How to use frontline sms:
Get an internet dongle from a cellular company (Idea, Airtel,etc)
connect dongle to PC
install frontline SMS
Frontline SMS detects dongle.
Frontline SMS API's available to read incoming SMS on dongle and forward to your server with POST/GET methods.
Try it out & let me know it work.
Regards,
Mihir.
PS: i use Huawei dongle + idea connection.
You can use mVaayoo (http://www.mvaayoo.com/sms-gateway-features-benefits.html)
It supports Easy 2-Way SMS Integration with Website, ERP, CRM or any application.
They will provide the rich documentation which helps you to solve your problem.
You can go to that site and register and test it..
There are so many things in the documentation like return values by getting the return values.
You can use http://routesms.com/
This is easy to use and cheap. I used it for like 3 years. They have all types of API with documentation.
The answer is Yes, try Clickatell, they also support India.
Please note that this is copied answer from another question...original This question is a duplicate.
Expensive, but it is possible.

How to Automate SMS from PHP mysql at Particular point of Time

I have a website where people will book for Site visits.The Support Executive Confirms Site visit in the previous day. Once the Site visit is confirmed on the day on which site visit should happen the customer should receive SMS in morning telling that you have site visit today as requested.
I have Third party SMS Service
Now I Should Run a Code in PHP, MySQL which sends a SMS in the morning on which the site visit should happen
How can I Do that
Cron -> starts PHP-Script , PHP Script reads records from the SQL Table and checks if an SMS has to be sent, i assume its sms over mail, so you can use the integrated php function to send out mails to the sms gateway. For the guy confirming the visits, create another site with proper authentication where he can access the table and agree with the site-visits and anotherone for the customer to register for site visits
You need a cron job set to run in morning which will call your php file have code for looking in database for customers you need to send sms to.
Yo need to register to sum sms gateway provide 2 good one i know is clickatell and eztexting.
You can get there api for sending sms in there website.
Happy Smsing :D
Set a Cron Jobs in your Control panel.Try this link
http://www.devx.com/DevX/Article/39900/1954
If you would like to try an entirely different approach, check out:
Sent.ly - http://sent.ly
I am the founder of Sent.ly and thought maybe Sent.ly could help you out...
Sent.ly allows you to use an Android phone as an SMS gateway. So... you could just purchase a cheap Android phone ($150 or so) and set up Sent.ly on it and put a SIM in the phone.
By calling the Sent.ly API, the SMS would go out through the SIM in your Android phone. Sent.ly also has the option for scheduling an SMS for sending later which is your use case.
This also allows your PHP application to RECEIVE SMS in addition to just sending it out.
You can setup rules and if an incoming message matches a rule, it would be posted to a PHP page of your choice.
Since I am a great fan of stackoverflow, I would like to invite you to try Sent.ly. We would be happy to set you up with extra credits if you like. Just mail us at support#sent.ly
Cheers,
Varun
I have developed a system like this for use with some of my clients, and you can easily use it to integrate with your website or applications, through HTTP POST or WebServices (using PHP, C# or whatever).
If you are interested just leave an email or other contact information as a reply to this answer and I will gladly send you a sample code of how to send SMS, setting the desired time for sending messages, beyond other things, through our system.
You will not need to have any kind of cron knowledge and setup, it is all handled by our system, and the code is pretty simple and straight forward. You will only need to call our services upon site visit confirmation, setting the desired message sending time, and our system will do the rest.
Best regards.

Receiving and broad casting messages from mobile phones with PHP

There is a web site
http://www.pringit.com
i want to receive text messages from mobile phones using php, like this web site.
the user makes his account at this web site and registers his mobile fone number there then if admin or any other person who has made groups there (at the web site) he can send a message from his mobile to the web site server then from that server the message is broad casted or multi casted or uni casted according to the sender's wish, my question is that i want to do a work like this, now i want some guidance, about this, i want to know that is that task is done by using some sort of api like tropo or urbanairship etc?, if that is then i will go for api, or there is another way to do this, plz. guide me how to do this, or how to go about this thanx an Regards Saad
You must use any service providers API to send sms. You can search for the best service provider in your area.
If you purchase some credits ,most of the case they will have give the integration guide or code
You can select XML or json API for this . You will have to do the rest of code likek user authentication,grouping etc
http://www.twilio.com/ is one of them

Categories