Position of the SunOn Saturday, 23 November 2013 at 22:58:00 UTC the Sun is at its zenith at these coordinates:
Latitude: 20° 31' South
Longitude: 168° 08' West

$zero = "0"; $disp = "none"; $ilatd = ""; $ilats = ""; $ilongm = ""; $jlatd = ""; $jlats = ""; $jlongm = ""; $exbit = ""; $ssplatd = ""; $ssplatm = ""; $ssplongd = ""; $ssplongm = ""; $fromselectedchangefrom = "youllneverfindthis"; $fromselectedchangeto = "youllneverfindthis"; $latxprefix = ""; $longxprefix = ""; exec("curl http://www.timeanddate.com/worldclock/sunearth.html > " . dirname(__FILE__) . "/sun_angle_data.txt"); if (!file_exists(dirname(__FILE__) . "/sun_angle_data.txt")) { header("Location: http://www.rjmprogramming.com.au/NoWayJose/"); } else { $fhuh = fopen(dirname(__FILE__) . "/sun_angle_data.txt", "r"); $cont = ""; $thing = "

Position of the Sun

On "; while (($buffer = fgets($fhuh, 4096)) !== false) { $cont .= $buffer; } fclose($fhuh); unlink(dirname(__FILE__) . "/sun_angle_data.txt"); $onp = strpos($cont, $thing); if ($onp === false) { header("Location: http://www.rjmprogramming.com.au/nowayjose/"); } else { $rest = substr($cont, ($onp + strlen($thing))); $restx = substr($cont, ($onp + strlen($thing)), 300); if (strpos($restx, "South") !== false) $latxprefix = "-"; if (strpos($restx, "West") !== false) $longxprefix = "-"; $rest = str_replace("<", "<", $rest); $rest = str_replace(">", ">", $rest); $onp2 = strpos($rest, "UTC"); $onp3 = strpos($rest, "td class=r"); if ($onp2 === false || $onp3 == false) { header("Location: http://www.rjmprogramming.com.au/no_way_jose/"); } else { $todayis = substr($rest, 0, ($onp2 + 3)); //$todayis = $rest; $rest = substr($rest, $onp3); $onp3 = strpos($rest, "td class=r"); $iijj = strlen("td class=r") + 4; $ssplatd = $latxprefix; while (substr($rest, ($onp3 + $iijj), 1) == "-" || (substr($rest, ($onp3 + $iijj), 1) >= "0" && substr($rest, ($onp3 + $iijj), 1) <= "9")) { $ssplatd .= substr($rest, ($onp3 + $iijj), 1); $iijj += 1; } while (substr($rest, ($onp3 + $iijj), 1) < "0" || substr($rest, ($onp3 + $iijj), 1) > "9") { $iijj += 1; } while (substr($rest, ($onp3 + $iijj), 1) == "-" || (substr($rest, ($onp3 + $iijj), 1) >= "0" && substr($rest, ($onp3 + $iijj), 1) <= "9")) { $ssplatm .= substr($rest, ($onp3 + $iijj), 1); $iijj += 1; } $rest = substr($rest, ($onp3 + $iijj)); $onp3 = strpos($rest, "td class=r"); $iijj = strlen("td class=r") + 4; $ssplongd = $longxprefix; while (substr($rest, ($onp3 + $iijj), 1) == "-" || (substr($rest, ($onp3 + $iijj), 1) >= "0" && substr($rest, ($onp3 + $iijj), 1) <= "9")) { $ssplongd .= substr($rest, ($onp3 + $iijj), 1); $iijj += 1; } while (substr($rest, ($onp3 + $iijj), 1) < "0" || substr($rest, ($onp3 + $iijj), 1) > "9") { $iijj += 1; } while (substr($rest, ($onp3 + $iijj), 1) == "-" || (substr($rest, ($onp3 + $iijj), 1) >= "0" && substr($rest, ($onp3 + $iijj), 1) <= "9")) { $ssplongm .= substr($rest, ($onp3 + $iijj), 1); $iijj += 1; } } } } $ssplats = ""; $ssplongs = ""; $pssplatd = ""; $pssplatm = ""; $pssplats = ""; $pssplongd = ""; $pssplongm = ""; $pssplongs = ""; if (isset($_GET['latd'])) $pssplatd = $_GET['latd']; if (isset($_GET['latm'])) $pssplatm = $_GET['latm']; if (isset($_GET['lats'])) $pssplats = $_GET['lats']; if (isset($_GET['longd'])) $pssplongd = $_GET['longd']; if (isset($_GET['longm'])) $pssplongm = $_GET['longm']; if (isset($_GET['longs'])) $pssplongs = $_GET['longs']; if (isset($_POST['latd'])) $pssplatd = $_POST['latd']; if (isset($_POST['latm'])) $pssplatm = $_POST['latm']; if (isset($_POST['lats'])) $pssplats = $_POST['lats']; if (isset($_POST['longd'])) $pssplongd = $_POST['longd']; if (isset($_POST['longm'])) $pssplongm = $_POST['longm']; if (isset($_POST['longs'])) $pssplongs = $_POST['longs']; if (isset($_GET['latd'])) { $fromselectedchangefrom = 'place=' . $_GET['place'] . '"'; $fromselectedchangeto = $fromselectedchangefrom . ' selected="selected"'; } else if (isset($_POST['latd'])) { $fromselectedchangefrom = 'place=' . $_POST['place'] . '"'; $fromselectedchangeto = $fromselectedchangefrom . ' selected="selected"'; } echo ''; echo ''; echo 'Noon Sun Angle on Earth Today at Latitude and Longitude via RJM Programming'; echo ''; echo "\n "; ?>

Another noon sun angle calculation?

Latitude 1: Longitude 1:
anothergo(); \n"; ?>