Created by andoitz.com
Use this script for encrypt your php code
You can have this class as API in other server
1. Encrypt your php files to cphp
2. Create an API with this class and your encrypted php classes.
You can use the php class protector http://www.andoitz.com/proyectos/programacion/34-proyectos/programacion/82-php-class-protector.html
3. If you like MVC create a controller with a view and call your classes via your API. You will GET the response functions protected.
4. If you dont want touch API server, send your cphp files to de API server. API server will decrypt and execute your functions.