note 937 deleted from ref.exec by vincent
| From: | vincent@php.net | Date: | Mon, 08 Sep 2003 15:11:32 +0000 |
| Subject: | note 937 deleted from ref.exec by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55845@lists.php.net to get a copy of this message | ||
Note Submitter: aulbach@unter.franken.de
----
Wondering, why your command isn´t printing anything?
<P>
Perhaps your command fails? But why isn´t there any error message in your browser?
<P>
Under Unix the error ouput goes into another filehandle. Use this "trick" to see your
errors:
<P>
<PRE>
system("touch /forbidden 2>&1");
</PRE>
This will pipe any output from ERROROUT into STDOUT (works with most shells, see docs of used shell,
if this isn´t working).