exec("chmod 0644 $fyl 2>&1");
This PHP command, as you know, will evoke an EXEC to do CHMOD on the
command line. Everything works fine, including printing the
appropriate error message piped out to STDOUT.
However, I would like the error messages in color. How do I do that
with 2>&1 within PHP or whatever?
Thanx
Phil
This PHP command, as you know, will evoke an EXEC to do CHMOD on the
command line. Everything works fine, including printing the
appropriate error message piped out to STDOUT.
However, I would like the error messages in color. How do I do that
with 2>&1 within PHP or whatever?
Thanx
Phil
Comment