EditPlus + Zend Encoder implements simple PHP source encryption IDE environment

xiaoxiao2021-03-06  71

Home: http://www.maxss.net/ Email: Maxss.net@163.com

Software Environment:

Windows 2000 PRO / SEVER

Editplus

PHP 4.3.4

Zend Optimizer 2.5

Zend Encoder unlimited 1.2

I don't have much to say about Editplus and PHP. First talk about Zend Optimizer, it is an optimizer of PHP, and it is Zend Encoder to be used to encrypt the PHP source code. It is important to note that the Zend Encoder Unlimited encrypted PHP file requires Zend Optimizer support to properly run. Unlimited version is not cost, but it is just a console program. The following describes a simple Zend Encoder IDE environment using user tool features with Editplus.

1. Of course, it is to install the software described above (first installing PHP), which can be downloaded in its official website. PHP, Zend Optimizer and other software installations are automatically configured, so no additional configuration is available again.

2. Start EditPlus, Open Menu "Tools -> Configure User Tools ..." After selecting a group, change its group name "Zend Encoder"

3. Click "Add Tool" and fill in the items as follows: Menu text: eNCode command: {Your Zend Encoder installation directory} /zePath $ (filepath) $ (filenamenoext)

[Note $ (FilePath) and $ (FileDir) in the parameter bar]

Description: Because the encrypted file can no longer be edited, you have to back up a good source file, which is recommended to name the PHP's source file with file.php.src, so press the above configuration to file file encryption The file will automatically be named file.php.

4. In order to make EditPlus can perform syntax to the SRC's PHP source file, it is also necessary to add SRC extension support for PHP files. Specific operation: Click on the menu "Tool -> Parameter Selection ...", select the "File / Setup and Syntax" branch in the directory tree on the left, then select "File Type" PHP, and finally add "; SRC" in the file extension, Multiple extensions must be separated by a semicolon.

Now you can write some simple PHP programs to try this IDE's feature. Here is an official example:

PHPINFO ();?>

Because the EDITPLUS's plug-in tool features are flexible, you can imitate the above-mentioned IDE environment, such as everyone familiar with TC, etc.

转载请注明原文地址:https://www.9cbs.com/read-120392.html

New Post(0)