Cloudlog/application/libraries/Electronicqsl.php

14 lines
541 B
PHP
Raw Normal View History

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2020-03-01 19:15:04 +00:00
class Electronicqsl {
// Return formatted URL to get the eQSL card image
public function card_image($username, $password, $callsign, $band, $mode, $year, $month, $day, $hour, $minute)
{
$url = "https://www.eqsl.cc/qslcard/GeteQSL.cfm?Username=".$username."&Password=".$password."&CallsignFrom=".$callsign."&QSOBand=".$band."&QSOMode=".$mode."&QSOYear=".$year."&QSOMonth=".$month."&QSODay=".$day."&QSOHour=".$hour."&QSOMinute=".$minute;
return $url;
}
}