diff options
author | Hans Duedal <hd@onlinecity.dk> | 2011-09-06 18:27:55 +0200 |
---|---|---|
committer | Hans Duedal <hd@onlinecity.dk> | 2011-09-06 18:27:55 +0200 |
commit | 7e57f0eeba5e7b6d3258a969058e477899e6536d (patch) | |
tree | cde0b1f78708bb72454cb6dc15ab254e32728791 | |
parent | bbb250e4822e705179d8adf7f59243317c5ec612 (diff) | |
download | php-smpp-origin/windows-compatible.zip php-smpp-origin/windows-compatible.tar.gz php-smpp-origin/windows-compatible.tar.bz2 |
Updated readme with more generic exampleorigin/windows-compatible
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ function printDebug($str) { try { // Construct transport and client, customize settings - $transport = new TSocket('localhost',2700,false,'printDebug'); // hostname/ip and port + $transport = new TSocket('localhost',2775,false,'printDebug'); // hostname/ip (ie. localhost) and port (ie. 2775) $transport->setRecvTimeout(10000); $transport->setSendTimeout(10000); $smpp = new SmppClient($transport,'printDebug'); @@ -40,7 +40,7 @@ try { // Open the connection $transport->open(); - $smpp->bindTransmitter("jorge","prtgljrg"); + $smpp->bindTransmitter("USERNAME","PASSWORD"); // Optional: If you get errors during sendSMS, try this. Needed for ie. opensmpp.logica.com based servers. //SmppClient::$sms_null_terminate_octetstrings = false; |