might be you can put the script in the include directory and use zend to
encode it~
"Ira Baxter" <idbaxter@semdesigns.com> ¦b¶l¥ó
news:cihrev0snr@enews1.newsguy.com ¤¤¼¶¼g...[color=blue]
>
> "karolina" <rallykarro@hotmail.com> wrote in message
> news:c8a98246.0409151039.6d09a01c@posting.google.c om...[color=green]
> > Hi,
> >
> > I have a webserver which some user have their own accounts on. I want
> > to provide the users with some public classes which they may use use
> > when they are making there own php code placed in their own
> > directories.
> >
> > I want the code to be accessable via an interface (like h-files in c)
> > but I do not want my code to be viewable to the users which are using
> > my classes. Very much like a library or something.
> > How do I make php code which are hidden but are free to use by my
> > users with a defined interface against my classes?[/color]
>
> Your source code needs to be processable by the PHP compiler.
> But, you don't want your code-users to "see" it.
> This is an unsolvable problem when stated this way.
>
> What you can do is to obfuscate the source code you want them
> to use. This enables them (and the compiler) to see the public interface,
> and to "see" the class bodies, but if the class bodies
> are sufficiently obfuscated, it won't do them much good
> to see it.
>
> See[/color]
http://www.semanticdesigns.com/Produ...bfuscator.html.[color=blue]
>
>
> --
> Ira D. Baxter, Ph.D., CTO 512-250-1018
> Semantic Designs, Inc.
www.semdesigns.com
>
>[/color]