aweklin — 2012-09-20T11:37:03-04:00 — #1
In .NET environment, you could deploy you web app to your local server with compilation (which hides all code-behind files, i.e, your server-scripts).
How can I achieve the same in my WAMP/PHP environment.
The essence of this is to protect my application from being modified by anyone else behind me.
Thank you in anticipation of your prompt response.
cpradio — 2012-09-20T13:11:44-04:00 — #2
PHP is an interpreted language not a compiled language, so your code never does get compiled like it does in .NET. There are tools that allow you to obfuscate your code to make it hard for it to be deciphered, but even the best PHP programmers can get around those.
Also, most of .NET components can be decompiled using tools such as ilSpy and Reflector, so even those are not 100% safe once compiled.
aweklin — 2012-09-20T13:14:46-04:00 — #3
Thank you for your prompt and inspiring response.
But wondering if you can provide me with the link to the tool to use on this.
Thank you once again.
cpradio — 2012-09-20T13:20:03-04:00 — #4
I've personally never used one, but here is the google search I just performed that contains a listing. Maybe others could express their experiences with using one.
lemon_juice — 2012-09-20T15:26:00-04:00 — #5
Search for "php encoder" - they can convert php to bytecode and encrypt so getting to the source is very difficult. However most (or maybe all) of them are commercial and require installation on the server.
aweklin — 2012-09-21T03:25:43-04:00 — #6
Thank you guys for the help.
I am happy to be a PHP programmer with your support.