Hi, i need a script and HTML page that will decode a .txt and place icons on a google map where they need to be. This project should be very simple for someone who knows what there doing.
Example: [login to view URL]
I want to use google maps though. Must be delivered as index.php.
I already wrote some logic to pull the data. I just need you to get it placed on the map.
public function get_vatsim_data($find) {
//get new file from Vatsim if the existing one is more than 5 minutes old
if(!file_exists('[login to view URL]') || time()-filemtime('[login to view URL]') > 300) {
//choose a random download location per Vatsim policy
$random = (rand(1, 4));
if ($random == 1) {$url = '[login to view URL]';}
if ($random == 2) {$url = '[login to view URL]';}
if ($random == 3) {$url = '[login to view URL]';}
if ($random == 4) {$url = '[login to view URL]';}
//get the file
$file = new CodonWebService();
$contents = @$file->get($url);
//save new file to server
$newfile="[login to view URL]";
$file = fopen ($newfile, "w");
fwrite($file, $contents);
fclose ($file);
}
Thanks,
Lowest bid wins. I need it done fast. ANy generic bids will be ignored. IF YOU CONTACT ME OUTSIDE OF FREELANCER YOU WILL BE REPORTED.
Thanks and happy bidding.