How do I protect my PHP code? Some fee features do not want open source publishing

Source: Internet
Author: User
What I want to know is the method outside of Zend compilation, because some client hosts do not support Zend compiled code.
The system is open source, only need to protect the small part of the charge function, can be encapsulated into other files, such as: I have seen an IP address area query function, the database name Tinyipdata.dat, and then can be queried in PHP, so you can also run on any PHP-enabled host.


Reply to discussion (solution)

Files that are accessed in PHP code can be arbitrarily named

The PHP code itself can also do some self-decoding scrambling code processing

The PHP code itself can also do some self-decoding scrambling code processing

Can you give me a simple example?

Give a very simple example

Eval (Base64_decode (' cghwaw5mbygpow== '));
Can't say too much, say more is meaningless, this you know
I wonder how
Multi-layered nesting and with Caesar encryption, the general people will not open the

Thank you, boss upstairs, I have implemented the commercial Code to encode.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.