mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
@@ -1,38 +0,0 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Clublog {
|
||||
|
||||
/*
|
||||
Communicates with the Clublog.org API functions
|
||||
|
||||
Send()
|
||||
|
||||
TODO: Finish ADIF output
|
||||
TODO: Curl Function
|
||||
TODO: Batch importing
|
||||
TODO: Delete
|
||||
*/
|
||||
|
||||
/* Send QSO in real time */
|
||||
public function send($qso) {
|
||||
|
||||
// Load Librarys
|
||||
$CI =& get_instance();
|
||||
$CI->load->library('curl');
|
||||
|
||||
// API Key
|
||||
$key = "608df94896cb9c5421ae748235492b43815610c9";
|
||||
|
||||
$username = "";
|
||||
$password = "";
|
||||
|
||||
$adif = "<qso_date:".strlen($qso_date).">".$qso_date."<time_on:".strlen($time_on).">".$time_on."<call:".strlen($qso['call']).">".$qso['call']."<band:".strlen($qso['band']).">".$qso['band']."<mode:".strlen($qso['mode']).">".$qso['mode']."<freq:".strlen($qso['freq']).">".$qso['freq'];
|
||||
|
||||
|
||||
echo $CI->curl->simple_post('curl_test/message', array('message'=>'Sup buddy'));
|
||||
|
||||
}
|
||||
public function check(){}
|
||||
}
|
||||
|
||||
/* End of file Clublog.php */
|
||||
Reference in New Issue
Block a user