如何隐藏php代码和mysql表架构

We've a Clint requirement in which, all the PHP source codes + MySQL DB will be in their network. So all their data will not be visible to outside world. That's we can do.

But, the thing is.. we want to hide our source codes(PHP) & MySQL DB from them(client). So that no body can make any miss use of those.

For PHP i think "ZEND GUARD" will be a good choice. But, still.. i want to know is there any other better tools available in web for hiding PHP source codes.

About, hiding MySQL DB.. we've no idea how to deal with this. But, more specifically we want to hide our all tables SCHEMA. So that, no body can access all those information.

Any idea guys..

Regards

For php codes you can write some dll files which contain your functions and that is how you can code them. for that see here

and for your mysql you can put it on another server and give access to people you need.by the way you can make as many users in a db as you want and give them the specific accesses. for that see here