Server : LiteSpeed System : Linux server551.iseencloud.net 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64 User : pbkvidya ( 2092) PHP Version : 8.1.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open Directory : /home2/pbkvidya/public_html/ |
<?php
// Require the bundled autoload file - the path may need to change
// based on where you downloaded and unzipped the SDK
require __DIR__ . '/twilio-php-main/src/Twilio/autoload.php';
// Your Account SID and Auth Token from console.twilio.com
$sid = "AC94d876cdd67cf69fb43ac9b254223198";
$token = "a16ddc26f717933ad04407be78a4c930";
$client = new Twilio\Rest\Client($sid, $token);
// Use the Client to make requests to the Twilio REST API
$client->messages->create(
// The number you'd like to send the message to
'+919605433258',
[
// A Twilio phone number you purchased at https://console.twilio.com
'from' => '+13343668787',
// The body of the text message you'd like to send
'body' => "Hai, You travel booking confirmed!!"
]
);