How would I restrict one function from calling another function. I want to let users create their own PHP applications or plugins but I dont want them to be able to access certain functions or classes. How would I do this?
letting a user run any php function is dangerous it could open up the whole server. Even if you checked there code for ever dangerous php function there still ways to hide them. I think you should reconsider the plan.
hmmm. I see, how would this work then? Facebook does it, it cant be impossible. There must be a way to allow users to create PHP apps
not hard in a vhost environment, but as i have never seen it done elsewhere never seen it done, I'll pass.
[man]disable-functions[/man]
Weedpacket;10932787 wrote:[man]disable-functions[/man]
can you do it for only one set of users?
dagon;10932812 wrote:can you do it for only one set of users?
if those users use their own copy of php.ini yes