<?php

 
 
// Update the path below to your autoload.php, 
// see https://getcomposer.org/doc/01-basic-usage.md 
require_once 'Twilio/autoload.php'; 
 
use Twilio\Rest\Client; 
 
//$sid    = "AC6fa233095bc2b02c3d702eb0e2d992f8"; 
//$token  = "97b753a965c876dd580bdedcb8042441"; 
$sid    = "AC9816bfdf894ecc22c5e3dc20656105af"; 
$token  = "fec25ae0a898e82a2a4b0912c7857d70";
$twilio = new Client($sid, $token); 
 
$message = $twilio->messages 
                  ->create("+20116310853", // to 
                           array(  
                               "messagingServiceSid" => "MGd2c421dcb83af46f3b8a97907f9a7ea7",      
                               "body" => "مبروك كسبت مليون جنيه يا منطاوي عشان انت رجل كويس " 
                           ) 
                  ); 
 
print($message->sid);

?>