Use eAccelerator to encrypt PHP programs_PHP tutorial

WBOY
Release: 2016-07-21 15:49:43
Original
808 people have browsed it

Use eAccelerator to encrypt PHP program

Copy code The code is as follows:

# /usr/local/bin/encoder

After execution, you will see simple usage instructions:
Copy code The 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 be 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' specifies an output
file name. If you encode directory or several files at once
then 'target'es specify an output directory name. -sphp -sinc -o ~/public_html/y


You should know how to use it after playing with it for a while...
Use encoder to encrypt and encode the PHP program, which will generate another file. You can also convert the entire directory, for example:

Copy code

The code is as follows:
# encoder code -rcf -sphp -sinc - o code_encoded
This command will encode all files ending with php / inc in the code/ directory and store them under code_encoded.
At the same time, because the -c option is specified, other Format and files that do not require encoding, such as jpg/gif/html/js, etc.,
will also be copied intact under code_encoded, so that you can provide services directly in this directory.
Option -r includes all subdirectories below



http://www.bkjia.com/PHPjc/319473.html
www.bkjia.com

truehttp: //www.bkjia.com/PHPjc/319473.htmlTechArticleUse eAccelerator to encrypt the PHP program. Copy the code as follows: # /usr/local/bin/encoder You will see it after execution Simple instructions for use: Copy the code as follows: Usage: encoder [options...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
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!