GpsTracker / servers / php /
@Nick Fox Nick Fox authored on 23 Jun 2014
..
images got rid of unused images in servers 10 years ago
javascript removed google adsense publisher id and channel number 10 years ago
mysql updated leaflet to 0.7.3 and fixed zoom button problem in php server 10 years ago
styles removed php_info file 11 years ago
README.md removed google adsense publisher id and channel number 10 years ago
dbconnect.php changed db from gpstracker2 to gpstracker 10 years ago
deleteroute.php removed php_info file 11 years ago
displaymap.php updated displaymap.php to latest leaflet 10 years ago
getgpslocations.php updated with more_results() 10 years ago
getrouteformap.php updated with more_results() 10 years ago
getroutes.php updated leaflet to 0.7.3 and fixed zoom button problem in php server 10 years ago
updatelocation.php updated updatelocation.php with proper isSet 11 years ago
README.md

The php version of GpsTracker is now updated to v3 of google maps, jquery and leaflet. The database file is in the mysql directory and this needs to be installed from the command line, please read the quick start guide to see how to do that:

https://www.websmithing.com/2014/01/20/quick-start-guide-for-gpstracker-3/#phpserver

If you want to turn on the adsense advertisement in the map, then change line 8 of google.js to enabled:

var adsense_status = 'enabled';

and add your adsense channel number and publisher id to line 206 and 207:

user_adsense.channelNumber = "YOUR_CHANNEL_NUMBER";
user_adsense.publisherID = "YOUR_PUBLISHER_ID";    

https://github.com/nickfox/GpsTracker/blob/master/servers/php/javascript/leaflet-plugins/google.js