kopia lustrzana https://github.com/magicbug/Cloudlog
Added more clublog code
rodzic
d4f3920676
commit
36b89a5463
|
@ -4,10 +4,17 @@ 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() {
|
||||
public function send($qso) {
|
||||
|
||||
// Load Librarys
|
||||
$CI =& get_instance();
|
||||
|
@ -19,7 +26,8 @@ class Clublog {
|
|||
$username = "";
|
||||
$password = "";
|
||||
|
||||
$qso = "QSO_DATE TIME_ON QSLRDATE QSLSDATE CALL OPERATOR MODE BAND FREQ QSL_RCVD LOTW_QSL_RCVD QSL_SENT DXCC PROP_MODE";
|
||||
$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'));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue