-1

I want to encrypt php code so that others should not modify.
If i run that encrypted php file in the browser its functionality should
work.
I have used few softwares, with those i could encrypt php code but failed to run in the browser as php encrypted code is viewing instead its funtionality.

Can anyone help me...

Thanks
Shastry

Edited by shastry: n/a

4
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by edwinhermann
1

Why would you want to encode php code?
If you trust your clients, you can just give them the code.
Otherwise, run it on your server.
If you really wish to encrypt the php, you can use something like the zend ion encoder (which needs the zend optimizer installed on the server).
For more information, take a look at this stackoverflow post:
http://stackoverflow.com/questions/470409/can-i-encrypt-php-source-or-compile-it-so-others-cant-see-it-and-how
Also, php is run on the server, and cannot be seen at all by the browser.
All the browser sees is the output of the php.

Edited by codejoust: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.