Sunrise/Sunset – Choose location

Please select a UK location from the drop down list and then hit ‘Submit’ to generate the relevant times for that location.



[exec]
$location = $_POST[‘location’];
if ($location == “”)
echo “Default location shown
“;
else
echo “You chose “. $location . “.
“;
[/exec]


[exec] $pish=urlencode($_POST[‘location’]); echo @join (@file (“http://www.bcgwebdesign.co.uk/cgi-bin/sun1.pl?location=$pish”),””); [/exec]

Day Date Sunrise Sunset Day Length Day Diff

I don’t claim that this is highly accurate and would stand up in a court of law so don’t go quoting me if you get knocked off while not having any lights on because “blmweb said it was still light” !!!

One thought on “Sunrise/Sunset – Choose location