Tag Archive for 'php script user'

Quick tip: Find out current php script executing user

Got this quick snippet of code from http://www.davidmorison.com/node/23 on how to find the current php script executing user. Useful to determine if suexec is running properly.

passthru("whoami");
?>