hello guys.. i need some help about exec();
well i know that exec("ndc reload"); would perform that command.. but i want too print out on the page what the command tells
when i do like this:
[root@xermin cryzeck]# ndc reload
Reload initiated.
[root@xermin cryzeck]#

i want to print that Reload initiated. on the page.. how?
not just echo("reload initiated"); but the stuff the command tells.