doumaogui5937 2018-08-28 11:01 采纳率: 100%
浏览 27
已采纳

PHP代码不应该改变

I am trying to make an plugin in WP. There is a license.php file where some code (Specified some URLs) should not get change by any other user.

Is there any way to prevent that once the code goes to the client's server?

Thanks!

  • 写回答

1条回答 默认 最新

  • dtujfmfs06058 2018-08-28 11:09
    关注

    Are you trying to prevent other developers from changing your code? This can be done in PHP with encryption or with obfuscation. Neither will abide by WordPress license, GPL. How can make your code work like a service by providing an API to do what your module does but on your own servers. If that solution is not viable I don't think there is a solution. If someone wants to change php code, they will.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?