hi,
i have the following problem:
i want to manage an redhat-7.0-linux-system via webinterface.
i started with showing the network-interfaces.
now i want to be able to enable/disable a network-interface ("ifconfig <interface> <up|down>") from the webinterface.
so i tried the following commands:
exec("ifconfig lo down");
shell_exec("ifconfig lo down");
´ifconfig lo down`;
system("ifconfig lo down");
but nothing happend.
i tried other commands like "ls -al" instead of "ifconfig lo down" and i got the output.
does anybody know the reason for this strange behavior?
thanks,
ingo