Re: [PHP] system() and stdout

2001-03-04 Thread Clayton Dukes
if ($error){ die("OS Error: $error. Try using man ping, this also usually boils down to path/permissions."); } - Original Message - From: "Michael Robbins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 04, 2001 11:53 AM Subjec

[PHP] system() and stdout

2001-03-04 Thread Michael Robbins
I am trying to use system() to run an external command and have the output placed into a variable using: $output = system("/usr/local/bin/somecommand"); the output is placed into $output, and it also places it instream with the HTML. Anyone know why this is happening? or how to properly