Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Não consigo receber respostas no PHP
sp_NewPost Add Reply sp_NewTopic Add Topic
February 6, 2014
11:44 am
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Marcos,

You can use two different methods to connect Diafaan SMS server with a PHP web server, a common MySQL database to exchange the SMS messages or the HTTP API in the Web Connector.

If your application has to support large amount of messages, a common (MySQL) database is the best option, but only if you have a very fast and reliable connection to the MySQL database from Diafaan SMS Server. It works best if Diafaan SMS Server runs on the same LAN network as the MySQL database and the PHP web server. When you are using this setup, the PHP script can send an SMS message just by creating a new record in the MessageOut table of the database. The PHP script can get also get the send log and the received SMS messages from the MessageLog and MessageIn database tables.

Another way to use Diafaan SMS Server with a PHP script is using the HTTP API that is implemented in the Web Connector. With the HTTP API, the PHP script can send an SMS message and query the send result with a normal HTTP GET or POST request. Received SMS message can be sent by the Web Connector to your PHP script when they come in. You can find more information about the HTTP API in the online manual.

Regards, Henk

February 5, 2014
9:34 pm
Marcos
Guest
Guests

Hello all right, I need help because I'm using the diafaan server and responses arrive in diafaan but not enough in PHP scrip, I'm connecting to my mysql database via IP Fixed want to know what you want and I have to do or what line of code should I use so that messages arrive in my PHP scrip can anyone help me?

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 671

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1140

Posts: 3897

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1487