PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Hassane Moussa   PHP Distance Between Coordinates Flying between Two Points   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Distance Between Coordinates Flying between Two Points
Calculate the distance between two Earth locations
Author: By
Last change:
Date: 4 years ago
Size: 444 bytes
 

Contents

Class file image Download
<?php

require_once 'FlyingDistanceWithGpsCoord.php';

// flying distance (Km) between Niamey/Africa (lat:13.5137/long:2.1098) and Paris/France (lat:48.856697/long:2.351462)

echo FlyingDistanceWithGpsCoord :: distancekilometer("Niamey","13.5137","2.1098","Paris","48.856697","2.351462");

echo
"<br/><br/>";

echo
FlyingDistanceWithGpsCoord :: distancekilometer("Niamey","13,5137","2,1098","New York","40,712728","-74,006015");

?>