phpdecodezend-studiozend-guard

Decode a Zend Guard encoded file with Zend Studio


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


Solution

  • 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 ....