This tab opens and displays the entire XML configuration file in editable format. All options can be viewed and edited manually, if required.
Note:
Please take human error into consideration when editing the XML file and check that there are no mistakes that could cause encoding to fail.
|
|
|
|
To generate an XML file:
|
|
Once the file has been created it can be run with the command line to secure PHP code. This can be done on the local machine or on another machine, see below for more information on how to encode PHP files with the XML file. |
||
|
|
The XML editing option allows in one simple step, to encode projects that contain several encoding options. This includes different PHP versions and different levels of encoding. The XML is in essence a single file that contains different settings to be applied to different files and folders in the project.
When choosing the Option "Override Project Information" (located in the General Tab) the information collected in the "General Tab" is exported to an XML file. This file can then be used to encode code located on a different machine. The XML Editor included in the Zend Guard provides editing options to modify the XML file if necessary.
As we mentioned earlier, the XML output generated by the Zend Guard, can be used to encode files with the command line on this or on another machine.
|
|
|
|
To Encode using the command line (and the XML File):
|
|
The settings defined in the file will be applied to the PHP code, including input and output directory locations. Therefore, you may want to manually edit the file if it is on a different machine to define the different file locations. |
|
|
|
Related
Links: |
©1999-2013 Zend Technologies LTD. All rights reserved.