Archive for June 19th, 2004

Calculate Great Circle v0.14

Posted: Saturday, June 19th, 2004 @ 11:42 pm in Uncategorized | No Comments »

I rewrote portions of the code, two major changes and a host of small improvements.
For one thing you no longer need to hack the code in order to get the program to function (look at –help)
Second the program no longer caches the HTML file, it caches a parsed PHP array. This speeds up the program […]

Calculating Great Circle Distances

Posted: Saturday, June 19th, 2004 @ 6:43 pm in Uncategorized | No Comments »

I wrote a program to calculate the distance between two international cities, here take a look.
In order to get a list of avaliable cities comment out the line
print_r(distance($decimal[54],$decimal[170]));
and put
print_r($decimal);
this will list the avaliable cities in a format like
[326] => Array
(
[…]