seasonresponse/index.php

48 lines
763 B
PHP
Raw Normal View History

2023-02-28 18:06:43 +00:00
<?php
header('Content-Type: text/plain; charset=utf-8');
$month = idate('m');
switch ($month) {
case "01":
echo "❄️";
break;
case "02":
echo "❄️";
break;
case "03":
echo "🌳";
break;
case "04":
echo "🌳";
break;
case "05":
echo "🌳";
break;
case "06":
echo "🌞";
break;
case "07":
echo "🌞";
break;
case "08":
echo "🌞";
break;
case "09":
echo "🍃";
break;
case "10":
echo "🍃";
break;
case "11":
echo "🍃";
break;
case "12":
echo "❄️";
break;
default:
echo "Don't know";
}
?>