Re: [PHP] execute a command

2003-06-22 Thread Don Read
On 22-Jun-2003 Mattia wrote: > How to execute a command capturing the stanndard error, in addition to > standard output? example: > > echo system('/bin/rm ...'); > > I need to know when this command fails, and when it fails, i need to > know why. Any hints? > > _Mattia_ > $cmd='/bin/rm foo'

[PHP] execute a command

2003-06-22 Thread Mattia
How to execute a command capturing the stanndard error, in addition to standard output? example: echo system('/bin/rm ...'); I need to know when this command fails, and when it fails, i need to know why. Any hints? _Mattia_ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis