Re: Running PHP scripts as a different user
| From: | Jason Barnett | Date: | Wed, 05 May 2004 02:41:22 +0000 |
| Subject: | Re: Running PHP scripts as a different user | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23623@lists.php.net to get a copy of this message | ||
De Greef SéBastien wrote:
why don't you try runas in the exec() function ?runas requires you to enter the password credentials after you've executed the command. I'm not aware of how to pass information like that while PHP is trying to use exec(), it just hangs waiting for input that never comes. Have you done this?