How to calculate distance between two location by PHP Code
If you would like to calculate air distance between two location without any API or mysql query. You can use below code to get distance between two location. $distance_one_latitude = 30.364267; $distance_two_latitude = 30.324860; $distance_one_longitude = 78.087412; $distance_two_longitude = 78.052046; $theta = $distance_one_longitude - $distance_two_longitude; $dist = sin(deg2rad($distance_one_latitude)) * sin(deg2rad($distance_two_latitude)) + cos(deg2rad($distance_one_latitude)) * cos(deg2rad($distance_two_latitude)) * cos(deg2rad($theta)); $dist = acos($dist); $dist = rad2deg($dist); $distance = $dist * 60 * 1.1515; echo $distance = round($distance, 2);
Inout Homestay - Vacation & Space Rental Portal ScriptSponsored
Themeforest Clone Script - Digi MonsterSponsored
AWS Backup and Restoration Service for Instances
Backup and restore your AWS instances to protect data, recover from failures, and ensure business continuity.
Website and database migration to AWS EC2 instance
Migrate your website and database from existing hosting to an AWS EC2 server.
Help/Fix on configuring AWS SES for very low cost SMTP Email Sending (1 Hour)
One hour of help to configure AWS SES for low cost, reliable SMTP email sending.
Microsoft Azure App Service Deployment & Web Application Configuration
Deploy and configure Azure App Service for hosting web applications with secure access, performance tuning, and environm


