Re: [Asterisk-Users] PHP-AGI help

2006-06-05 Thread Lewis Agosta
Yes.  Jon is correct.   $agi[str_replace("agi_","",$s[[0])] = trim($s[[1]);   This line needs some work...  Your brackets are mismatched.  On 6/2/06, Jon Farmer <[EMAIL PROTECTED]> wrote: Yes you have a parse error in your PHP when I saved it locally and run it from the command line I got syntax er

Re: [Asterisk-Users] PHP-AGI help

2006-06-02 Thread Jon Farmer
ED]> To: asterisk-users@lists.digium.com Sent: Friday, 2 June, 2006 3:32:10 PM Subject: [Asterisk-Users] PHP-AGI help Can someone help me with this AGI script to send an email. It just isn't working. The file is being called in the dialplan and is saved as em.agi but it isn't se

[Asterisk-Users] PHP-AGI help

2006-06-02 Thread Matthew Warren
Can someone help me with this AGI script to send an email. It just isn't working. The file is being called in the dialplan and is saved as em.agi but it isn't sending the email. #!/usr/bin/php4 -q ___ --Bandwidth and Colocation provided by Easynews.