JustinK101 Posted April 13, 2009 Share Posted April 13, 2009 I am running PHP under Windows 2003 server. I want to confirm that PHP runs under the IUSR_{COMPUTER-NAME} account. Is there a var in $_SERVER that displays the user PHP is running under? I am using Plesk and PHP is running in ISAPI mode. Thanks. Link to comment https://forums.phpfreaks.com/topic/153901-is-there-a-way-to-display-the-user-php-is-running-under/ Share on other sites More sharing options...
rhodesa Posted April 13, 2009 Share Posted April 13, 2009 i think does what you want: http://us.php.net/manual/en/function.get-current-user.php Link to comment https://forums.phpfreaks.com/topic/153901-is-there-a-way-to-display-the-user-php-is-running-under/#findComment-808876 Share on other sites More sharing options...
JustinK101 Posted April 13, 2009 Author Share Posted April 13, 2009 Thanks rhodesa. Worked like a champ. Link to comment https://forums.phpfreaks.com/topic/153901-is-there-a-way-to-display-the-user-php-is-running-under/#findComment-808887 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.