From bc1f71e9ab6b8ffa9b501bc35b936de7fc9e7201 Mon Sep 17 00:00:00 2001 From: nyedidikeke Date: Tue, 14 Apr 2020 23:24:03 +0000 Subject: [PATCH] Fix undefined variable error and miscellaneous - Remove undefined nullable tags variable ($tags) from sample send SMS code snippet on line 49. - Update PHP manual URL from HTTP to HTTPS. - Fix minor syntax challenge (remove hyphen between PHP and extension). --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 042ebf1..d59f00d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ In addition to the client, this lib also contains an encoder for converting UTF- This lib has changed significantly from it's first release, which required namespaces and included some worker components. You'll find that release at [1.0.1-namespaced](https://github.com/onlinecity/php-smpp/tree/1.0.1-namespaced) -This lib requires the [sockets](http://www.php.net/manual/en/book.sockets.php) PHP-extension, and is not supported on Windows. A [windows-compatible](https://github.com/onlinecity/php-smpp/tree/windows-compatible) version is also available. +This lib requires the [sockets](https://www.php.net/manual/en/book.sockets.php) PHP extension, and is not supported on Windows. A [windows-compatible](https://github.com/onlinecity/php-smpp/tree/windows-compatible) version is also available. Basic usage example @@ -46,7 +46,7 @@ $from = new SmppAddress('SMPP Test',SMPP::TON_ALPHANUMERIC); $to = new SmppAddress(4512345678,SMPP::TON_INTERNATIONAL,SMPP::NPI_E164); // Send -$smpp->sendSMS($from,$to,$encodedMessage,$tags); +$smpp->sendSMS($from,$to,$encodedMessage); // Close connection $smpp->close();