Re: hide php code
From: Stefan Hegenbart (ich_at_hegi.info)
Date: 09/15/04
- Next message: Stefan Hegenbart: "Re: DB Access to DB MySQL"
- Previous message: Stefan Hegenbart: "Re: newb requesting help"
- In reply to: karolina: "hide php code"
- Next in thread: Michael Vilain
: "Re: hide php code" - Reply:(deleted message) Michael Vilain
: "Re: hide php code" - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 15 Sep 2004 23:05:57 +0200
karolina wrote:
> 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?
try defining an additional include-path in the php.ini file. then just
tell them the class names to include. they won't be able to see the code
- i think. it's the same procedure as with the pear-packages :)
regards
SH
-- "The goal of Computer Science is to build something that will last at least until we've finished building it." -- unknown
- Next message: Stefan Hegenbart: "Re: DB Access to DB MySQL"
- Previous message: Stefan Hegenbart: "Re: newb requesting help"
- In reply to: karolina: "hide php code"
- Next in thread: Michael Vilain
: "Re: hide php code" - Reply:(deleted message) Michael Vilain
: "Re: hide php code" - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|