Quite a few people use the PHP script that Bryce provided 7-1/2 years ago for sending an SMS message through NowSMS from PHP.
Over the years, we’ve added a few comments to clarify how the script is to be used. However, one of the most limiting things about the script is that it doesn’t support any of the additional SMS URL parameterssupported by NowSMS.
Among other uses, these parameters might be needed in order to specify the SMSC Route to be used for sending the message, or specifying a sender address.
An updated SendSMS.php script, which supports additional URL parameters is available athttp://www.nowsms.com/download/sendsms2-php.txt.
In the original script, we provided the following example for calling the SendSMS PHP function:
The new script supports the above format, but can also support additional optional parameters, specified in “parameter=value” format. For example, the following example specifies an explicit outbound SMSC route and a sender address to be used.