Skip to content

Instantly share code, notes, and snippets.

@ekos
Created April 25, 2017 06:46
Show Gist options
  • Save ekos/6c19975f6b8ae38ccc801decd2f1fe8c to your computer and use it in GitHub Desktop.
Save ekos/6c19975f6b8ae38ccc801decd2f1fe8c to your computer and use it in GitHub Desktop.
<?php
$processUser = posix_getpwuid(posix_geteuid());
print $processUser['name'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment