Re: note 10725 added to exec
| From: | Zak Greant | Date: | Fri, 19 Jan 2001 06:46:33 +0000 |
| Subject: | Re: note 10725 added to exec | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-9956@lists.php.net to get a copy of this message | ||
Read the function documentation more carefully. :)
--zak
----- Original Message -----
From: <derek@iclinux.com>
To: <php-notes@lists.php.net>
Sent: Thursday, January 18, 2001 8:15 PM
Subject: [PHP-NOTES] note 10725 added to exec
> This only seems to print the last line of output.
>
> I tried this with fortune using the following:
>
> <?
> echo exec(fortune);
> ?>
>
> It only printed one line of the fortune, I believe that it was the last
line.
>
> http://www.php.net/manual/en/function.exec.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail: php-notes-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>