Decode a Zend Guard encoded file with Zend Studio

一曲冷凌霜 提交于 2019-12-11 09:26:33

问题


So I have a fairly large system which we have encoded with Zend Guard. As this pretty badly messes up any SVN control, its a bit of a pain to deploy / make changes.

Does anyone know if its possible to use the Zend Studio FTP editing to decode and edit files that have been encoded? When I open them it says

The file filepath/filename.php was encoded by Zend Guard. Would you like to open it anyway?

If you click yes, it just opens the raw encoded file. I have both Zend Guard / Studio installed on my system, and in preferences both apps point to the other so they know they are installed. Seems a bit of a pain if it wont do this.

I can browse the files in Zend Guard and then open in Zend Studio, but this will only let me edit files in the output location, which is not on the live server

FYI I am using Zend Studio 5.5.1 (not latest).

NOTE: I want to be able to edit encoded files from a live FTP via Zend Studio, not what is mentioned here - http://files.zend.com/help/Zend-Studio/opening_and_editing_zend_guard_projects_in_neon.htm which is already mentioned above


回答1:


What you are asking for in NOT a feature of Zend Studio nor would it ever be one. Files are encoded By Zend Guard for security reasons. If Zend just allowed them to be unencoded from within Studio that would render Guard pretty much ineffective for the ISV's that use it.

You should work with the original source files before they are run through Guard and encode before transferring to the server. If you do not have the original source files then you should probably be contacting the party that does ....



来源:https://stackoverflow.com/questions/6734125/decode-a-zend-guard-encoded-file-with-zend-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!