Regarding the issue of callback verification on the public platform
张老汉
张老汉 2018-10-27 09:53:51
0
3
974

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?

张老汉
张老汉

reply all(2)
然

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

秋香姐家的小书童

There is a problem importing the file

  • reply The imported file was downloaded by Tencent
    张老汉 author 2018-10-28 07:15:10
  • reply If there is a problem with the import, it does not mean that there is a problem with Tencent’s interface.
    秋香姐家的小书童 author 2018-10-31 12:50:07
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!