Hi, besides having PHP create a file with touch and then using fileowner to read its owner, is there a simpler way to detect what UID PHP is running as?
Try whoami, it's a Linux and FreeBSD (don't know about the others) command
Diego
Thanks, used in combination with what I mentioned before I think I can identify the username on most Unix systems now. Would be nice if there were a PHP function or environmental variable to grab it from though. Thanks again.