Re: Command line PHP
| From: | Daniel Brown | Date: | Sat, 08 Jan 2011 17:06:45 +0000 |
| Subject: | Re: Command line PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310605@lists.php.net to get a copy of this message | ||
On Sat, Jan 8, 2011 at 07:25, TR Shaw <tshaw@oitc.com> wrote:
>
> Sorry, David I should not reply quickly when I have a cold but again its all pretty similar.
> Here it is on unix/linux.
>
> PHP:
>
> $word = "hello";
> exec("say \"$word\"");
>
> Bash:
>
> word="hello"
> say "$word"
<?php txt2wav('Hello','hello.wav'); ?>
--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/