Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:31:10
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+<?php
2
+
3
+require_once('phaxio_config.php');
4
+require_once('autoload.php');
5
+
6
+$params = array(
7
+    'to' => $toNumber,
8
+    'content_url' => array(
9
+        'https://www.phaxio.com',
10
+        'https://www.example.com'
11
+    )
12
+);
13
+
14
+$phaxio = new Phaxio($apiKeys[$apiMode], $apiSecrets[$apiMode], $apiHost);
15
+
16
+$result = $phaxio->sendFax($params);
17
+var_dump($result);
18
+