PHP SMS gateway SMS content cannot have spaces
Recently I am working on a text message notification function. The interface parameters are all written according to the document, but text messages cannot be sent. After checking for a long time, it turns out that the text message content has spaces. The English punctuation marks used in previous text messages have a space after the symbols. , using the date('Y-m-d H,i,s') 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
Recently I was working on a text message notification function. The interface parameters were all written according to the document, but text messages could not be sent. After checking for a long time, it turned out that the text message content had spaces . The previous text message The English punctuation marks used, there is a space after the symbol, and the date('Y-m-d H,i,s') function was used. Later, after all the spaces in the text message content were deleted, the message was sent successfully. It stands to reason that the text message content is There can be spaces, which may be text message content restricted by the SMS gateway platform.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool