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 script - not necessarily whether the script is actually executing
as this user or not. I couldn't find this information in phpinfo().

Suggestions much appreciated!

Thanks!

Jack

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to