DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ColdFusion (http://www.daniweb.com/forums/forum19.html)
-   -   Send a text message to your phone from your site! (http://www.daniweb.com/forums/thread16344.html)

insatiable Aug 2nd, 2005 12:21 am
Re: Send a text message to your phone from your site!
 
Hey, i just figured out wat to do with the code, but halfway thru.....the code which says 'sampleproc.cfm' dint work for me..........wats exactly '.cfm' code???? i really dint understand how the code works......can u plz explain...am curious...thnk u!!!!
........insatiable

janedwilder Nov 16th, 2005 8:33 pm
Re: Send a text message to your phone from your site!
 
is there a way to have a field in the form that will allow a user to type in any mobile# they want? I need for the option of this to enable a user to suubmit a message to any mobile phone. If you could figure this out I could compensate you.

cyberdata Sep 11th, 2006 6:00 pm
Re: Send a text message to your phone from your site!
 
i am making a site and having problem with the script and i want to know what should be in the action field i am using dreamweaver i put smaple.cfm but it poped up and then i put http://9547090928@mymetropcs.com and it still no work i was wonder if i am doin something wrong in posting it i need help with this

ckarnuth Dec 23rd, 2006 9:50 am
Re: Send a text message to your phone from your site!
 
I have tried the web pages that you have created, entering the phone number that i wish for the text message to go to and changing email addresses, however when I click on the call me button, it opens up a file download field, asking if i would like to open or save the file. If I click open it opens in Dreamweaver and does not send the message. Can you please help ?
I can attach the code back if you would like to make sure that I didn't do anything wrong.

cfmatt Feb 27th, 2007 5:50 pm
Re: Send a text message to your phone from your site!
 
Quote:

Originally Posted by ckarnuth (Post 292887)
I have tried the web pages that you have created, entering the phone number that i wish for the text message to go to and changing email addresses, however when I click on the call me button, it opens up a file download field, asking if i would like to open or save the file. If I click open it opens in Dreamweaver and does not send the message. Can you please help ?
I can attach the code back if you would like to make sure that I didn't do anything wrong.

Are you serving the pages from a coldfusion server.
It sounds like you are not hence the file download.

Matt

cfmatt Feb 27th, 2007 5:53 pm
Re: Send a text message to your phone from your site!
 
Quote:

Originally Posted by insatiable (Post 148341)
Hey, i just figured out wat to do with the code, but halfway thru.....the code which says 'sampleproc.cfm' dint work for me..........wats exactly '.cfm' code???? i really dint understand how the code works......can u plz explain...am curious...thnk u!!!!
........insatiable

.cfm is a Coldfusion page, similar to asp, php scripting.

To make this code work the pages need to be served (hosted) on a coldfusion server otherwise this will not work.

Matt

mattyfed Jun 25th, 2007 1:09 am
Re: Send a text message to your phone from your site!
 
here is a page that lists a ton of providers and how to send to them

http://www.livejournal.com/tools/tex...l?mode=details

ZenMartian Sep 3rd, 2007 11:39 am
Re: Send a text message to your phone from your site!
 
Quote:

Originally Posted by 2ndPlatform (Post 93074)
I've also modified the code from my cell phone provider's website. They usually have the form right on there to send a text message... grab the code from there and use your cell phone provider's already-in-place processing.

Hello... Although I came across your thread a tad late, I've been Googling everywhere trying to find others who could help me solve a matter of how to create a SEND-TO-PHONE function on my website. The thing is, I want visitors to input their own 10-digit number in the small form, Click the SEND TO PHONE button...and within seconds, they automatically receive a txtmsg which includes the URL to my mobile website. Any ideas how I can do this in a cost effective manor? I've checked out quite a few sms gateway services that handle this, yet they're a bit to costly for my budget at this point in time.

TextMarks (www.textmarks.com) has a cool app that allows you to create a keyword and use it with their dedicated 5-digit number, so you can do your own "Txt 'keyword' to 12345" promotion campaigns, etc. The catch is, it has to be txted from a mobile phone. I wish I could borrow that code and implement it on my website, so that visitors can also txt their 10-digit number from my site and they get the txtmsg bounced to their phone. Any help with this matter would be greatly appreciated.

Thanks!
Keith Welch

Quantumphp Dec 1st, 2007 1:18 pm
Re: Send a text message to your phone from your site!
 
There is another great tutorial about sending custom text messages from your website.
It's at

http://www.easykiss123.com/tutorials...ple/index.html

It is set up so you custom text messages can be sent to users after they put in their phone number. Nice!

Quantumphp

ZenMartian Dec 5th, 2007 11:19 pm
Re: Send a text message to your phone from your site!
 
Hi QuantumPHP! :-) Tried responding to you earlier today, yet I think it didn't go through when I hit SEND. First of all, I want to thank You so, so much for leading me towards the right direction with an answer to the mystical "Send a TxtMsg to your phone from your Site"! LOL!!!! Wow!! I downloaded those files and truth be told, it does actually work!! I'm Thrilled!! :-)

Of course...heh-heh... I do have a couple of questions for ya... I'm not a php master by far, yet I noticed the smsphp form has a 'print' command/function which displays whatever text is written in that area, onto a web page (user side)...ok... Well, here's two things that came up... On one hand, I slightly modified the smsphp form and I tried using it within an iFrame on my Site, which looked and worked quite well. The problem is, when you enter a phone number/click send-to-phone, that's when the "Your Txt Was Sent Successfully" msg displays itself within the iFrame... h'mmmm. Sort of looks quite out of place against the color background surrounding the rest of the site. Somehow, I need to have it be a separate web page linked to the form, so that I could have a bit more control over the look of the web page color/font, etc. (hope I'm explaining it correctly). Also, if there's a way to make it work as I explained, then I think a RESET button would help too, if it were situated on that same page.

Secondly... I could make the smsphp form do a pop-up action (target=blank), showing the form in a separate window/web page, yet I'd still appreciate more control over the look of the "Your Txt Was Sent Successfully" web page.

And, lastly..just out of curiousity... how do you create a link within that same {print;} function?? The text reads "Your Text Was Sent Successfully...etc." How can I place a url link within that text? Example: "Click Here To Go back To Home Page" ...??!? How do you code this as a URL within the PHP so that it displays as a LINK on the user side?

Thank you very much for your time on this matter! :-)

Sincerely,
Keith/ZenMartian


All times are GMT -4. The time now is 10:13 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC