I'm using the Twilio PHP API on my site for sending and receive sms.i successfully send sms but i can't receive individual words from incoming sms.suppose a customer sent a sms in my twilio number like="i am going home" now i want to take two words from that line like i,home. can i use this code
<?php
$msg1 = $_REQUEST['Body[0]'];
$msg2 = $_REQUEST['Body[2]'];
header('Content-Type: text/xml');
?>
am i right? or what is the thinks i should change