|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-17 23:35 UTC] webmaste at adamscs dot com
[2004-12-18 12:48 UTC] edink@php.net
[2004-12-18 18:32 UTC] webmaster at adamscs dot com
[2004-12-18 23:47 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 23 05:00:01 2025 UTC |
Description: ------------ I am using Windows Server 2003 running IIS 6 with PHP 5.0.3.3 CGI. I am coding a program that require the exec of the "dsmod" command. The command will only work when the user that it is being exec as is logged in. Reproduce code: --------------- <?php exec ('dsmod user "'.$username.'" -pwd .$password, $dsmod); echo ($dsmod[0]); ?> Expected result: ---------------- exec() to work Actual result: -------------- exec() only works when the user that is logged into the webpage is also logged into the computer