Home >Backend Development >PHP Tutorial >PHP SMS gateway SMS content cannot have spaces, SMS gateway SMS content_PHP tutorial

PHP SMS gateway SMS content cannot have spaces, SMS gateway SMS content_PHP tutorial

WBOY
WBOYOriginal
2016-07-12 09:03:301248browse

php SMS gateway SMS content cannot have spaces. SMS gateway SMS content

Recently I am working on a SMS notification function. The interface parameters are all written according to the document, but SMS cannot be sent. After checking for a long time, turned out to be that the content of the text message contained spaces . The English punctuation marks used in the previous text messages had a space after the symbols, and date('Y-m-d H,i,s' was used ) function, and then after deleting all the spaces in the text message content, the message was sent successfully. It stands to reason that the text message content can have spaces, and it may be the text message content restricted by the SMS gateway platform.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1080758.htmlTechArticlephp SMS gateway SMS content cannot have spaces. SMS gateway SMS content has recently been working on an SMS notification function, and the interface parameters are all It’s written according to the document, but I can’t send text messages. After checking for half...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn