if ($_GET["printsource"]) { header("Content-type: text/plain"); $fc = file_get_contents("./index.php"); $fc = preg_replace('/\$mysql_pass\s=.*/', '$mysql_pass'.' = "...";', $fc, 2); echo "$fc"; } ?>
$mysql_host = "localhost"; $mysql_user = "fabian"; $mysql_pass = "..."; $mysql_dbname = "YFKlog"; $db = mysqli_connect($mysql_host, $mysql_user, $mysql_pass, $mysql_dbname) or die ("Since I am doing all of my logging online (with YFKlog), my logs (going back to my first contacts in 1998) are already in a SQL database and can easily be accessed for this website.
Note that between 2011 and 2015, I mostly operated in contests at DL1A. After moving to a new location in 2015, I have a station of my own again, so QSOs with my own callsign have become a less rare. Starting September 2024, my remote station at SO5CW is fully operational, so expect a lot of QSOs from there, too.
The last few QSOs are shown below, updated as they are entered to the log. You can also select a year and see the QSOs from that year, or check out how I am doing in the "Worked All Suffixes" challenge.
Logs by year
|
Last contacts$hdr = "Date Call Name Band MyCall DXCC\n"; $q = mysqli_query($db, "SELECT date, `call` as cs, mycall as mc, band, mode, name, dxcc FROM yfklogtbl where `mycall` in ('DJ5CW', 'DJ1YFK', 'SO5CW', 'OK/DJ5CW', 'DF0HSC', 'DJ5CW/P') and DATE LIKE '%$year%' ORDER BY date desc, t_on desc, nr desc limit 30;"); if (!$q) { echo "Database error!\n"; return; } $tmp = ''; $cnt = 0; include_once("dxccs.php"); while ($o = mysqli_fetch_object($q)) { $cnt++; if ($o->name) { $name = iconv('latin1', 'utf8', $o->name); } else { $name = ''; } $tmp .= sprintf("%s %-11s %-10s %3s %3s %-7s %s\n", $o->date, $o->cs, $name, $o->band, $o->mode, $o->mc, $dxcc[$o->dxcc]); } echo "".$hdr.$tmp.""; ?> |
Search Logsearch_results(); ?> Unique calls by first letter
$arr = array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K",
"L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V",
"W", "X", "Y", "Z");
$k=0;
$sum = 0;
foreach ($arr as $c) {
$k++;
$cnt = count(file("static/unique-$c.html")) - 16;
$sum += $cnt;
$tmp = "$c ($cnt)";
$x = sprintf("%-45s", $tmp);
echo "$x";;
if (!($k % 5)) {
echo "\n";
}
}
?>
Total unique calls: =$sum;?> |
|||||||||
=$mycall; ?> Logs for ($i = 1998; $i <= (getdate()['year']); $i++) { echo "- $i"; } ?>
# For all years before the current one, we will serve
# a static file, if it is less than 60 days old.
$sfn = "static/log-$year.html";
$sfnl = "static/log-$year-length.txt";
if ($year < getdate()['year'] and
file_exists($sfn) and
(time() - filemtime($sfn)) < (60*24*60*60)) {
/* Do nothing, we do the include later */
}
else {
$mycall = array(strtolower($mycall));
if ($year == 2021) { # dj1yfk + dj5cw
$mycall = array("dj5cw");
}
$tmp = '';
foreach ($mycall as $cl) {
$q = mysqli_query($db, "SELECT date, `mycall` as mc, `call` as cs, band, mode, name FROM yfklogtbl where (`mycall` like '%YFK%' or mycall like '%5CW%' or mycall like 'DF0HSC') and DATE LIKE '$year%' ORDER BY date asc, t_on asc");
if (!$q) {
echo "Database error!\n";
return;
}
while ($o = mysqli_fetch_object($q)) {
$cnt++;
if ($o->name) {
$name = iconv('latin1', 'utf8', $o->name);
}
else {
$name = '';
}
$tmp .= sprintf("%s %-11s %-10s %3s %-5s %s\n",
$o->date, $o->cs, $name, $o->band, $o->mode, $o->mc);
}
}
$fh = fopen($sfn, 'w');
if (!$fh) {
echo "Error (fopen).";
return;
}
fputs($fh, $tmp);
fclose($fh);
$fh = fopen($sfnl, 'w');
if (!$fh) {
echo "Error (fopen).";
return;
}
fputs($fh, $cnt);
fclose($fh);
}
include($sfn);
?>
}
function search_results () {
global $db;
$c = strtoupper($_POST['call']);
$tmp = '';
$cnt = 0;
$sc = 0;
$rc = 0;
$nomail = false;
if (substr($c, 0, 1) == "*") {
$c = substr($c, 1);
$nomail = true;
}
if (preg_match('/^[A-Z0-9\/]{2,30}$/', $c)) {
foreach (array("dj1yfk") as $call) {
$q = mysqli_query($db, "SELECT date, `call` as cs, band, mode, name, qsls, qslr, mycall FROM yfklogtbl where `call` = '$c' or `call` like '%/$c' or `call` like '$c/%' or `call` like '%/$c/%' ORDER BY date asc, t_on asc");
if (!$q) {
echo "Database error.";
return;
}
while ($o = mysqli_fetch_object($q)) {
$cnt++;
if ($o->name) {
$name = iconv('latin1', 'utf8', $o->name);
}
else {
$name = '';
}
$tmp .= sprintf("%s %-11s %-10s %3s %s %s %s %s\n",
$o->date, $o->cs, $name, $o->band, $o->mode, $o->qsls, $o->qslr, $o->mycall);
if ($o->qsls == "Y") $sc++;
if ($o->qslr == "Y") $rc++;
}
}
echo "$c found $cnt times. Sent QSLs: $sc, Received QSLs: $rc$tmp"; $tmp .= "\nIP: ".getenv('REMOTE_ADDR')."\n"; if (!$nomail) mail("fabian@fkurz.net", "Log search $c", $tmp, "From: www@fkurz.net"); } } ?>
Since I am doing all of my logging online (with YFKlog), my logs (going back to my first contacts in 1998) are already in a SQL database and can easily be accessed for this website.
Note that between 2011 and 2015, I mostly operated in contests at DL1A. After moving to a new location in 2015, I have a station of my own again, so QSOs with my own callsign have become a less rare. Starting September 2024, my remote station at SO5CW is fully operational, so expect a lot of QSOs from there, too.
The last few QSOs are shown below, updated as they are entered to the log. You can also select a year and see the QSOs from that year, or check out how I am doing in the "Worked All Suffixes" challenge.
Logs by year
|
Last contactsDate Call Name Band MyCall DXCC 2026-11-30 R2WB Mikhail 80 CW SO5CW Eu. Russia 2026-11-30 EW6BS Nick 80 CW SO5CW Belarus 2026-11-30 YU3MS Milos 80 CW SO5CW Serbia 2026-11-30 M3JAN 80 CW SO5CW England 2026-11-30 DH3JZ Gero 80 CW SO5CW Fed. Rep. of Germany 2026-11-30 OE1KLW Willy 80 CW SO5CW Austria 2026-11-30 R6ZZ Val 80 CW SO5CW Eu. Russia 2026-11-30 DO8XC Frank 80 CW SO5CW Fed. Rep. of Germany 2026-11-30 RZ6AR Anatole 80 CW SO5CW Eu. Russia 2026-11-30 LZ1GH George 80 CW SO5CW Bulgaria 2026-11-30 YU1KW Goran 80 CW SO5CW Serbia 2026-11-30 RW9JZ Len 80 CW SO5CW As. Russia 2026-11-30 F6DQV Jean 80 CW SO5CW France 2026-11-30 YO6BLU Geo 80 CW SO5CW Romania 2026-11-30 UN0GY Maxim 80 CW SO5CW Kazakhstan 2026-11-30 OK1DOR 80 CW SO5CW Czech Republic 2026-11-30 SN5N Chris 80 CW SO5CW Poland 2026-11-30 DF7CB Chris 80 CW SO5CW Fed. Rep. of Germany 2026-11-30 OK1NU 80 CW SO5CW Czech Republic 2026-11-30 DF2RQ MIKE 80 CW SO5CW Fed. Rep. of Germany 2026-11-30 SD1A Eric 80 CW SO5CW Sweden 2026-11-30 SM5ACQ Don 80 CW SO5CW Sweden 2026-11-30 DL8WN Mike 80 CW SO5CW Fed. Rep. of Germany 2026-11-30 OK2EA 80 CW SO5CW Czech Republic 2026-11-30 SE5V Claes 80 CW SO5CW Sweden 2026-11-30 OK4RQ Pavel 80 CW SO5CW Czech Republic 2026-11-30 S53K Simon 80 CW SO5CW Slovenia 2026-11-30 OM5JA 80 CW SO5CW Slovak Republic 2026-11-30 OK1KKI 80 CW SO5CW Czech Republic 2026-11-30 OK1MSL 80 CW SO5CW Czech Republic |
Search LogUnique calls by first letter0 (0) 1 (5) 2 (79) 3 (166) 4 (380) 5 (207) 6 (45) 7 (85) 8 (67) 9 (768) A (715) B (159) C (536) D (6128) E (2604) F (1327) G (2236) H (1772) I (2579) J (1291) K (2194) L (1665) M (786) N (1323) O (4146) P (1345) Q (0) R (4525) S (3653) T (855) U (3220) V (825) W (1993) X (78) Y (1709) Z (365) Total unique calls: 49831 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||