|
Server IP : 10.128.40.6 / Your IP : 216.73.216.233 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/logmcpe/www/TMCPRO/pages/includes_sms_recu/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
use \Ovh\Api;
$applicationKey = "3QTamGrntZTeBlul";
$applicationSecret = "HgWWtMzq2qQeNcFhmEOBZ2Xp4DBDhImR";
$consumer_key = "V7NIDRFOQtfLn4c1D1ieT187WBdyyuJE";
$endpoint = 'ovh-eu';
$conn = new Api($applicationKey,
$applicationSecret,
$endpoint,
$consumer_key);
// Get Service Name
$smsServices = $conn->get('/sms/');
// Get Incoming SMS Ids
$IncomingSMSIds = $conn->get("/sms/$smsServices[0]/outgoing", array());
// Get SMS Details
$messagesDetails = [];
foreach ($IncomingSMSIds as $key => $IncomingSMSId) {
$detail = $conn->get("/sms/$smsServices[0]/outgoing/$IncomingSMSId");
array_push($messagesDetails, $detail);
}
