search

Home  >  Q&A  >  body text

Regarding the issue of callback verification on the public platform

Since the verification always failed, I deleted all the code in the program and kept only three sentences to check whether the program was executed.

The first sentence, file_put_contents('x.txt','1'); writes 1 to x.txt, indicating that the program is executed and the first sentence is normal.

The second sentence, include_once "pkcs7Encoder.php"; load the interface file

The third sentence, file_put_contents('x.txt','2'); Write to x.txt Enter 2 to indicate that the second sentence is executed normally.

It turned out that the program terminated after executing the second sentence. Originally, the interface provided by Tencent has 5 files. I have tried them all. As long as this file is included, the program will terminate execution.

What is the reason for this?

张老汉张老汉2251 days ago1037

reply all(3)I'll reply

  • 然

    2018-10-30 18:08:21

    You can check if there are any breakpoints in the code in the file you imported.

    reply
    0
  • 秋香姐家的小书童

    秋香姐家的小书童2018-10-27 11:48:10

    There is a problem importing the file

    reply
    0
  • 张老汉

    The imported file was downloaded by Tencent

    张老汉 · 2018-10-28 07:15:10
    秋香姐家的小书童

    If there is a problem with the import, it does not mean that there is a problem with Tencent’s interface.

    秋香姐家的小书童 · 2018-10-31 12:50:07
  • Cancelreply