Check smsc on or off and choose smsc to send using PHP | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ |
◄ ► |
Author | Message | |||
tantomi yahya New member Username: Thantomy Post Number: 6 Registered: 01-2016 |
hi thanks for answer my question before this.. i want to ask again, for the example i register 3 phone number to smsc.. (1)can we check is if they were connect or not using php.. i mean its need to show in html format. and also (2) can we choose which one that we will send using which phone... i found my question 2 familiar like http://support.nowsms.com/discus/messages/485/2582.html oh and also i using http://www.nowsms.com/doc/submitting-sms-messages/send-sms-text-message-with-php to send message.. i dont see any variable to choose any smsc.. thank! | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5603 Registered: 08-2008 |
Do you mean delivered? Delivery reports are possible, but complicated. I can provide more info, but want to make sure I understand the question correctly.
Good point. We should update that web page. There is a newer example PHP script here: http://www.nowsms.com/download/sendsms2-php.txt And a brief explanation of what changed here: http://www.nowsms.com/send-sms-from-php-script-updated The newer script adds support for additional parameters such as SMSCRoute -- Des NowSMS Support | |||
tantomi yahya New member Username: Thantomy Post Number: 7 Registered: 01-2016 |
hi des yes i mean delivery report.. and can i using php to insert it to mysql i see a lot differences in new code. i need to change all old code with new code then? i almost forgot.. can we use php to get connection with smsc modem? its connected or not.. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5605 Registered: 08-2008 |
Yes, replace the old SendSMS function with the new.
You can query the status using the XML Status Query interface. This link has a PHP example that looks at SMSC connection status: http://www.nowsms.com/nowsms-status-query-with-php
There is a lot of info here: http://support.nowsms.com/discus/messages/1/69962.html And here's a PHP example for parsing the Message ID from the SendSMS PHP function: http://support.nowsms.com/discus/messages/1/24868.html -- Des NowSMS Support |