Windows user
Posted by:
cyberflaz
(---.static.ngi.it)
Date: October 19, 2007 10:15AM
Hi all,
I'm running WAMP on Windows Vista Business with any problem. Congratulations for the very good project!
I need to change the user that runs as PHP.
If I create a php document within:
<?php system('whoami'); ?>
Running it from the web i get:
NT AUTHORITY\SYSTEM
If i run it from the command line (php.exe info.php) i get the username and the domain of the user logged in in Windows.
I need to run PHP as the logged in user on windows. Is it possibile?
Thanks.