March 2002
Intermediate to advanced
528 pages
21h 29m
English
exec
string exec(stringcommand[, arrayoutput[, intreturn]])
Executes command via the shell and returns
the last line of output from the command’s result.
If output is specified, it is filled with
the lines returned by the command. If
return is specified, it is set to the
return status of the command.
If you want to have the results of the command output into the PHP
page, use passthru( ).