Please help me setting sendsms script

Please help me setting sendsms script SearchSearch
Author Message
irenic
New member
Username: Irenic

Post Number: 1
Registered: 07-2004
Posted on Wednesday, July 07, 2004 - 03:10 pm:   

hello.
i copied the sendsms script from one of the pages and pasted in a notepad editor and saved it as .php file. i m having webserver running as linux with php 4+ ver. i want to ask that in the script starting from " <? " should i use " <?php " or leave it as it is? also in the " function SendSMS ($host, $port, $username, $password, $phoneNoRecip, $msgText) " what $host i should use? it must be my own server ip or 127.0.0.1 as specified? is the $port set to " 81 " or should i change it? $username and $password should be my nowsms account and password or what? in the $phoneNoRecip should i write my own cell number or leave as it is specified? please tell me these things urgent, i will be thankful to u for this gr8ness.
bye.
irenic
New member
Username: Irenic

Post Number: 2
Registered: 07-2004
Posted on Wednesday, July 07, 2004 - 03:19 pm:   

i entered $host my own website ip, $port 81, $username my nowsms account username, $ password my nowsms password. now i uploaded this .php file to website and opened by browser, it give following error:
errno: 111 errstr: Connection refused
please tell me what should i do???
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3007
Registered: 10-2002
Posted on Wednesday, July 07, 2004 - 09:25 pm:   

Have you installed NowSMS?

Have you sent any SMS messages to yourself via the NowSMS web interface?

To avoid any potential confusion, I should explain that the Now SMS/MMS Gateway is a software product. NowSMS is not a bulk SMS service provider, and it is not a replacement for an SMS service provider. You will need a subscription to an SMS service provider, or a GSM modem, in order to send messages with NowSMS.

The Now SMS/MMS Gateway is a middleware tool for SMS, which among other features, can be used to manage connections to one or more service providers; or to manage receiving SMS messages; or to perform message formatting for advanced message types such as WAP push, MMS, etc.