Hallo NG,
wir haben im lokalen Netz einen Windows 2003 Server, auf dem der IIS
6.0 mit PHP läuft. Ich möchte jetzt über ein Skript die aktiven
Rechner innerhalb der Domäne anzeigen lassen. Auf der Konsole klappt
das Net View, aber ein:
$result=passthru("net view");
echo $result;
klappt weder mit passthru(), noch mit system(), exec() oder
shell_exec().
Ich habe auch schon mit der Identität des Anwendungspools und Rechten
auf der command.com gespielt, hat aber nichts gebracht. Hat
irgendjemand eine Idee?
MfG,
Michael Stock
======================================================
Hello NG,
in our local Network we have a Windows 2003 Server with IIS 6.0 and
PHP.
I want a script to show the clients in the local domain. On the
console the "net view" command works, but a script with
$result=passthru("net view");
echo $result;
does not show anything, neither passthru(), nor system(), exec(),
shell_exec().
I've tested changing the identity of the Application Pool and giving
rights on the command.com to the Webserver-Account - both without any
result.
Does anybody have any ideas?
Thanks,
ichael Stock