twilio and flash?
S Gruffat

United States

#1 Jan 25, 2012
so i need a variable for flash.
My hope is that it counts the number of times it sees 'elder'
and outputs the integer value into var1

and so on...

would this code work?
see below. Any help is appreciated!

<?php
header("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"? >\n";
$var1 = substr_count($_REQUEST['Body'] ,'elder');
echo $var1;
$var2 = substr_count($_REQUEST['Body'] ,'dancer');
echo $var2;
?>

<Response>
<Sms>Thank you 4 your input!</Sms>
</Response>

Tell me when this thread is updated:

Subscribe Now Add to my Tracker

Add your comments below

Characters left: 4000

Please note by submitting this form you acknowledge that you have read the Terms of Service and the comment you are posting is in compliance with such terms. Be polite. Inappropriate posts may be removed by the moderator. Send us your feedback.

Twilio Discussions

Title Updated Last By Comments
I'm Unable to make a call to Other Countries fr... (Jan '13) Jan '13 Naveenkumar 1
Playing audio url during a call (Nov '11) Nov '11 Playing audio 1
More from around the web