Using Eaccelerator to encrypt PHP programs _php tutorial

Source: Internet
Author: User
Encrypt PHP programs with Eaccelerator
Copy CodeThe code is as follows:
#/usr/local/bin/encoder

After execution, you will see simple instructions for use:
Copy CodeThe code is as follows:
Usage:encoder [Options] Source_file_name
Encoder [Options] source_file_name ...
Encoder [Options] source_directory_name ...
Options:
-s suffix
Encode files only with following suffix (default is "PHP")
-A
Encode all files (no by default)
-L
Follow Symbolic links (no by default)
-R
Encode directories recursively (no by default)
-C
Copy files Those shouldn ' t is encoded (no by default)
-F
Overwrite existing files (no by default)
-W
Exclude check for Eaccelerator_load () and subsequent warning
-O Target
If you encode only one script then ' target ' specifyes an output
File name. If you encode directory or several files at once
Then the ' target ' specifyes an output directory name.
Examples:
Encoder some_file.php
Encoder Some_file.php-o some_encoded_file.php
Encoder *.php-o Some_dir
Encoder ~/public_html/x-rcf-sphp-sinc-o ~/public_html/y

A little play should know how to use ...
Using encoder to encrypt the PHP code will result in another file, and you can convert the entire directory, for example: Copy CodeThe code is as follows:
# encoder Code-rcf-sphp-sinc-o code_encoded

This command encodes all php/inc end files in the code/directory and stores them under code_encoded.
At the same time, because you specify the-C option, other formats, files that do not need to be encoded, such as JPG/GIF/HTML/JS,
It will also be copied to code_encoded below, so that you can directly use this directory to provide services.
Option-R with all sub-directories below

http://www.bkjia.com/PHPjc/319473.html www.bkjia.com true http://www.bkjia.com/PHPjc/319473.html techarticle use Eaccelerator to encrypt the PHP program to copy the code code as follows: #/usr/local/bin/encoder you will see a simple instructions for use: Copy the code as follows: Usage:encoder [Options ...

  • 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.