Re: [PHP] which user is a script executing as?

2004-07-24 Thread Peter Risdon
Matt M. wrote: How do I determine with which user's permissions PHP scripts are executing? I am experimenting with suEXEC and running PHPs as CGIs; I need to know with which user's permissions PHP scripts are executing. I've tried using getmyuid() and get_current_user(), but these only report the

[PHP] which user is a script executing as?

2004-07-23 Thread Jack
How do I determine with which user's permissions PHP scripts are executing? I am experimenting with suEXEC and running PHPs as CGIs; I need to know with which user's permissions PHP scripts are executing. I've tried using getmyuid() and get_current_user(), but these only report the owner of the

Re: [PHP] which user is a script executing as?

2004-07-23 Thread Matthew Sims
How do I determine with which user's permissions PHP scripts are executing? Generally, if you execute a script through the web server, it's being executed under the web server's UID. I am experimenting with suEXEC and running PHPs as CGIs; I need to know with which user's permissions PHP

Re: [PHP] which user is a script executing as?

2004-07-23 Thread Matt M.
How do I determine with which user's permissions PHP scripts are executing? I am experimenting with suEXEC and running PHPs as CGIs; I need to know with which user's permissions PHP scripts are executing. I've tried using getmyuid() and get_current_user(), but these only report the owner