Page 1 of 1

Mixing encoded and unencoded code

Posted: Thu Jan 22, 2009 5:04 am
by greyhoundcode
As someone who has not yet used IonCube or Zend's equivalent, can anyone tell me if any issues arise from using an encoded PHP file within an application that is unencoded.

Specifically, I am thinking of encoding a plugin for Wordpress: assuming the server is set up to deal with encoded files etc, does this present any problem (the rest of the Wordpress installation will not be encoded, so I'm wanting to mix and match here)?

Re: Mixing encoded and unencoded code

Posted: Thu Jan 22, 2009 5:46 am
by Stryks
I've never used ioncube, but I've run mixed file schemes with Zend and NuCoder without any drama. The encoder usually has an option to dissalow an unencrypted file to be used with an encrypted file, but it's off by default I think.

Why dont you download the trial version of Zend (for example) and upload the file and see how you go. I cant forsee any problems though.

Cheers

Re: Mixing encoded and unencoded code

Posted: Sun Jan 25, 2009 10:11 am
by greyhoundcode
Might give that a try then. Incidentally, have you used NuCoder on a shared hosting account?

Re: Mixing encoded and unencoded code

Posted: Sun Jan 25, 2009 4:43 pm
by Stryks
Yeah ... I have a few active projects that use NuCoder on shared servers. It was a bit of a hassle to find a host willing to run the PHP extension, especially Aussie servers, but now I have a few options.

Like ioncube, you can use a runtime loader to load the extension, but it's not the optimal solution.