In article <Kj********************@news20.bellglobal.com>,
"toufik toufik" <to*****@sympatico.ca> wrote:
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.
Depends on what you mean by "hide it". Hide it from _what_?
You can't hide it from the web server or you won't be able to display
pages. If the customer has shell access to the server, you _may_ be
able to hide that from them if the file permissions are set correctly.
But if you're trying to "compile" the code in such a way that they can
look at the file but don't know what it's doing, that can only be done
minimally as has been previously discussed.
If you want to make the source code unavailable, switch to a compiled
language like C and write it as a CGI program. Otherwise, there's only
so much you can do to "hide" the source code in php, perl, or python.
You could switch to Java, but portability might be a problem, as well as
scaling to more traffic.
--
DeeDee, don't press that button! DeeDee! NO! Dee...