"; } else { header('WWW-Authenticate: Basic realm="My Realm"'); header('HTTP/1.0 401 Unauthorized'); echo 'You cannot listen to the live audio stream'; exit; } } } else { echo "

BirdNET-Pi

"; } if(isset($_GET['log'])) { if (file_exists('./scripts/thisrun.txt')) { header("Location: /log");} } elseif(isset($_GET['spectrogram'])){ header("Location: /spectrogram.php"); } else { echo "