Zend encoder is probably your best option.

But why do you want to hide your php code from your Server Admin?

1. If you can't trust your Server Administrator you've got big
problems.  Change your hosting!

2. Are you sure your code is so valuable?  Developers always 
seem to greatly overestimate the value of their code to anyone
else.  There's loads of really great php freely available out 
there to handle almost any general task.  A lot of effort goes 
into publicising it yet it's still hard to get anyone interested 
in looking at it, let alone using it.

3. Is the php code really what you need to protect?  My
experience is that most of the difficult parts of an application
are embedded in the data structures, the functionality and
the presentation, not the php code.  Any idiot can develop php
code if they know exactly what it has to do (and that it can
be done...)

4. If you're worried about your customer simply keeping the code
and not paying you, my advice is to give up.  If someone wants to
rip you off they probably will.  You'll do yourself just as much
good by taking the simple step of asserting your copyright and
being ready to go to court if they don't pay and still use the
software.  You'll be lucky to win, but at least it'll be clear
who is ripping off who.

5. I hope your real interest is not just to lock your users/
customers into using you for all maintenance work.  If so
my advice is to stop using Open Source products such as php
and switch to proprietary products.  The proprietary world
has been living for years off customer lock-in and has all
the techniques to help you get your share of the rip-off as
long as you're on their side.  If you stick with Open source, you
get none of that business support/price umbrella and your 
customers are much more likely to come up with embarrassing 
questions like: "Why are you fleecing us?"

In general, if you think your old code is an "asset" and you're just 
protecting it, think again.  All code is obsolete before it's
finished.  It's only your skills/experience that really matter 
and the best way to protect them is to share your work and learn 
from others.

Good Luck,


George

Michael A. Peters wrote:
> 
> On Wed, 14 Nov 2001 18:38:48 +0700
> Ye Tun <[EMAIL PROTECTED]> wrote:
> 
> > Hi all,
> >
> > I am not sure if this is the right list to ask.  But I am wondering if I
> > can keep my php code from Server Administrator of the web server I am
> > putting my code on?   Is there anyway I can encrypt or do something so that
> > the server admin can't look at my code.
> >
> > REgards,
> >
> > Ye
> >
> 
> ZendEncoder works really really well.
> It's not free- but hey, those guys have given us a lot already.
> 
> The server _must_ be running the ZendOptimizer or it won't work.
> 
> I recommend getting the ZendEncoder (assuming it has been ported to your
> devel platform- last time I checked, it hadn't yet been ported to OS X or
> PPC Linux- but it has been ported to the major x86 distro's)
> 
> ZendEncoder solves a lot of problem.
> When you code, that's your value :)
> 
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-
> Michael A. Peters
> http://24.5.29.77:10080/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to