[PHP-WIN] Fwd: Can't execute external program -> error "Access is denied"

2007-06-19 Thread Davide Molteni
Hi, as additional information. I've to execute a batch file that launch another batch as a domain privileged user to perform some domain administrative tasks. Do you have any idea? how can I do that? Thanks a lot for your help. Regards Dave -- PHP Windows Mailing List (http://www.php.net/)

[PHP-WIN] Can't execute external program -> error "Access is denied"

2007-06-19 Thread Davide Molteni
Hi, I've a Windows 2003 server, running Apache 2.2 with PHP 4.4.4 and I want to run an external program or script with exec(), passthru(), shell_exec() or system() but I always receive "Access is denied". If I try with "notepad.exe" it works! This program or script works if I run it from the W

[PHP-WIN] Can't execute external program -> error "Access is denied"

2007-06-19 Thread Davide Molteni
Hi, I've a Windows 2003 server, running Apache 2.2 with PHP 4.4.4 and I want to run an external program or script with exec(), passthru(), shell_exec() or system() but I always receive "Access is denied". If I try with "notepad.exe" it works! This program or script works if I run it from the Wind