Use Eaccelerator to encrypt PHP programs
Copy Code code as follows:
will see a simple instructions to use:
Copy Code code 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 fi Les (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 SCR IPT then ' target ' specifyes an output
file name. If you are encode directory or several files at once
Then ' 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
play a little bit should know how to use ...
uses encoder to encrypt the PHP code, creating another file, and you can also convert the entire directory, for example:
Copy Code code as follows:
# encoder Code-rcf-sphp-sinc-o code_encoded
This command will encode all the php/inc at the end of the code/directory and store it under Code_encoded,
at the same time, because of the designation-C this option, other formats, do not need to encode files, such as Jpg/gif/html/js,
will also be reproduced intact under code_encoded, so that you can directly use this directory to provide services.
option-r contains all subdirectories below