Send sms any web ???

Send sms any web ??? SearchSearch
Author Message
edwing juarez tadeo
New member
Username: Zshevchenko

Post Number: 1
Registered: 04-2007
Posted on Monday, April 02, 2007 - 06:55 am:   

hi
i have a lg mg800c chocolate
i conect the phone modem to nowsms
i can send sms in the ip indicated in the program
but i want put the form in my website and send sms by my phone
sorry the english im mexican!
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7034
Registered: 10-2002
Posted on Wednesday, April 04, 2007 - 09:41 pm:   

From a script on your web site, you would need to make an HTTP request to NowSMS, sending a URL that contains information about the SMS that you want to send.

The URL formats are documented here:
http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/sendin g_text_messages.htm
http://www.nowsms.com/documentation/ProductDocumentation/sending_messages/url_pa rameters_for_sending_messages.htm

The process varies depending on what type of scriping language you are using. But generally speaking, you need to look for examples of how you can issue an HTTP request from within the scripting environment that you are using for your web server.

-bn
edwing juarez tadeo
New member
Username: Zshevchenko

Post Number: 2
Registered: 04-2007
Posted on Thursday, April 05, 2007 - 07:25 am:   

thanks thanks but my problem is differente....
i want put the code in www.mysite.com

i can send sms in my local network but i want ofert the service to any people ...

how creat a script in php to send the parameters to my modem ??

i have a lg chocolate and is ok!
send sms but only in my local network!!

sorry for the english
im mexican!
edwing juarez tadeo
New member
Username: Zshevchenko

Post Number: 3
Registered: 04-2007
Posted on Thursday, April 05, 2007 - 08:03 pm:   

how i can do that?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7058
Registered: 10-2002
Posted on Thursday, April 05, 2007 - 08:14 pm:   

You create a script in PHP, where that script makes an HTTP connection to NowSMS.

The following thread has an example PHP script that includes a function where that function makes an HTTP request to a NowSMS server to send an SMS:

http://support.nowsms.com/discus/messages/1/867.html
edwing juarez tadeo
New member
Username: Zshevchenko

Post Number: 4
Registered: 04-2007
Posted on Thursday, April 05, 2007 - 09:42 pm:   

yes, but i want to put a form in www.mipaginaweb.com for example and the script connect to my modem and send sms!

:s
i need a example!
that example is only for local machines
edwing juarez tadeo
New member
Username: Zshevchenko

Post Number: 5
Registered: 04-2007
Posted on Thursday, April 05, 2007 - 10:00 pm:   

i want that:

form.html (www.mysite.com) -> connect to my pc (my modem is a lg chocolate) ->send the sms
edwing juarez tadeo
New member
Username: Zshevchenko

Post Number: 6
Registered: 04-2007
Posted on Thursday, April 05, 2007 - 11:10 pm:   

i have a lg chocolate, ok?
i can send sms on my pc, but only in local network!!!

i want to put the form but in a website!!
for example... www.edwingjuarez.com

i want a script connect the webpage to my pc or modem (lg chocolate)

the modem is ok!
si manda los sms!!

i want that:

form.html(or .php) -->connect to my pc(my modem is a lg chocolate) .. and send sms!! but form the website!!!
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7074
Registered: 10-2002
Posted on Monday, April 09, 2007 - 08:35 pm:   

You say that you are using PHP.

http://support.nowsms.com/discus/messages/1/867.html has a PHP script that includes a "SendSMS" function.

You include that function in your PHP script. Then when you want to send an SMS, you call the "SendSMS" PHP function in your script.

Note that you must modify the parameters passed to the "SendSMS" function:

$x = SendSMS("127.0.0.1", 81, "username", "password", "+4499999999", "Test Message");

The first parameter is the IP address of your NowSMS server. In this case, "127.0.0.1" means it is running on the same PC.

The second parameter is the port number for the NowSMS web interface. By default this is 8800, instead of 81 as used in this example.

The third and fourth parameters are a username and password for an "SMS Users" account definition.

The fifth parameter is the phone number to receive the SMS (can be a comma delimited list of multiple recipients).

The sixth parameter is the text of the message to send.

-bn
abed
New member
Username: Abed_atc

Post Number: 1
Registered: 06-2007
Posted on Thursday, June 21, 2007 - 11:47 am:   

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr