uawdijnntqw1x1x1
IP : 3.147.82.193
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
jackpotjunglegam
/
public_html
/
core
/
vendor
/
messagebird
/
.
/
php-rest-api
/
examples
/
hlr-create.php
/
/
<?php require_once(__DIR__ . '/../autoload.php'); $messageBird = new \MessageBird\Client('YOUR_ACCESS_KEY'); // Set your own API access key here. $hlr = new \MessageBird\Objects\Hlr(); $hlr->msisdn = 31612345678; $hlr->reference = "Custom reference"; try { $hlrResult = $messageBird->hlr->create($hlr); var_export($hlrResult); } catch (\MessageBird\Exceptions\AuthenticateException $e) { // That means that your accessKey is unknown echo 'wrong login'; } catch (\MessageBird\Exceptions\BalanceException $e) { // That means that you are out of credits, so do something about it. echo 'no balance'; } catch (\MessageBird\Exceptions\RequestException $e) { echo $e->getMessage(); }
/home/jackpotjunglegam/public_html/core/vendor/messagebird/./php-rest-api/examples/hlr-create.php