05-14-2008, 02:03 PM
|
#2 (permalink)
|
|
The Acquainted
Join Date: May 2008
Posts: 175
Thanks: 9
|
exec will only return the last line which in this case might be a blank line.
Is safemode on? If safemode is on, exec will not work.
You could also try PHP: shell_exec - Manual
I believe shell_exec returns all output as a string.
|
|
|