Re: tricky exec problem
| From: | fLIPIS | Date: | Wed, 12 Mar 2003 22:35:55 +0000 |
| Subject: | Re: tricky exec problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139194@lists.php.net to get a copy of this message | ||
"Daniel" <daniel@electroteque.org> escribió en el mensaje
news:3E67B1CA@node18.shanje.com...
> hi guys i am having a problem getting certain command line output bak to
php
> i am using the time binary to show the ammount of time it takes for the
php
> script to be compiled using the command line php although i am not getting
any
> output
>
> exec("/usr/bin/time php -q /www/sbsmain/worldarts/index.php3 > /dev/null
> 2>&1",$results,$err);
>
> i have tried this but it wont work , any ideas ?
Why not try passthru() ?