On Mon, 26 Jul 2010, Zarko Zivanovic wrote:
> I did try what you said, but it didnt create any files:
>
> $message="/bin/echo my variables are '$loc', '$variable1', '$variable2' >>
> /tmp/variables.txt";
> system("$message");
I'm just a c weenie, but that syntax would execute a command named
$message, not the value of the variable $message.
Would
system($message);
do what you want?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users