LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   mcabber script to forward a url post (https://www.linuxquestions.org/questions/programming-9/mcabber-script-to-forward-a-url-post-4175498873/)

Alan87i 03-20-2014 11:16 AM

mcabber script to forward a url post
 
I'm running this little script in php
Code:

<?php
  system("espeak '".$_POST["rule"]."'");
?>

When my system sends a URL post to the server espeak blurts out the text in "rule" from the posting.

I have mcabber jabber client installed and working , what I want to do is make a few php scripts that will call on mcabber /user x and send the text in "rule" from the url post as they are received.

I have had no luck at all with this.
Thanks for any help.


All times are GMT -5. The time now is 04:38 AM.