Is there a way to figure out which user it is that executes a php-script in a webserver using php-commands? (I don't have shell access to the server running httpd, so I cant use ps.)
Use the function posix_getuid.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
5 years ago