Sendsms.php doesn't work with nowsms cloud? | Search |
NowSMS Support Forums ⬆ NowSMS Cloud Edition Support ⬆ |
◄ ► |
Author | Message | ||||
Nigel New member Username: Nigel Post Number: 1 Registered: 07-2017 |
hi, i have used nowsms gateway before with sendsms.php, but i cannot figure out how to use it with cloud version. i think maybe it is port number? cloud version only supports https://, does not support http:// i tried port number 443, but cannot make it work. cheers, nigel | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8170 Registered: 10-2002 |
Hi nigel, We have a few web pages that we still need to update. Basically, the old sendsms.php used raw plain text socket i/o, and does not understand SSL/TLS encryption as required for https:// requests. sendsms.php is a rather simple script...so we changed the way it issues HTTP requests so that it will work for http:// or https:// This does require a minor parameter change...the first two parameters for the old version were host name or IP, followed by the port number. In the new version, instead these are combined into a single parameter, which is the URL of the NowSMS server (e.g., http://127.0.0.1:8800 or https://sample.smshosts.com/
-bn Bryce Norwood Now SMS/MMS Support P.S. - I should mention there are a few lines commented out. In this version, the SSL certificate is not checked for validity. We still need to do testing to determine the best way to do this in PHP. | ||||
Nigel New member Username: Nigel Post Number: 2 Registered: 07-2017 |
perfect! |