so I asked myself how to tell the server computer that a new SMS event has occurred?
(My computer operating system is Windows and I use xampp). I saved the text messages in the database. And for each text message I created a small empty file in a folder (smsevents) on the Windows server, With the same name that is stored in the database in the ip field for each SMS. And on the server I used the powershell to call a url when a new file is placed in the (smsevents) folder. That url contains the name of the newly created file. Then in this url, a record of the database in the SMS table is called, whose Ip field is the same as the name of the created file. And is sent to the SMS sending system, And url deletes the file created in the folder (smsevents). I created a .bat file that runs when the server is turned on and runs the powershell script. And it was done. I will write more details soon.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…