File: example.php

package info (click to toggle)
kalkun 0.8.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 7,340 kB
  • sloc: php: 30,659; javascript: 30,443; sql: 961; sh: 766; xml: 105; makefile: 40
file content (12 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
include_once('Kalkun_API.php');

$config['base_url'] = 'http://localhost/kalkun/index.php/';
$config['session_file'] = '/tmp/cookies.txt';
$config['username'] = 'username';
$config['password'] = 'password';
$config['phone_number'] = '+123456';
$config['message'] = 'Test message from API';

$sms = new Kalkun_API($config);
$sms->run();