geolocation - enter lat/long coordinates into mysql database

Closed Posted 7 years ago Paid on delivery
Closed Paid on delivery

I have a simple php database, where I want to have the users co-ordinates entered into the db, user columns lat and long, and with simple text from a form. When the user submits the form I automatically want their coordinates entered into the database. However, geolocation does not always work on mobile browsers, so I want to use IP-address based geolocation. An example is based on [login to view URL]

However, when the form is submitted its tries to use geolocation, if that fails (or times out), then it automatically uses the IP-address based coordinates.

I have attached my php insert form. Currently I'm using freegeoip, however that is based on the server location, not the client's location. If you can use the example of [login to view URL] to allow for co-ordinates to be entered into the website, that would be great. Thanks.

AJAX Geolocation JavaScript MySQL PHP

Project ID: #12593911

About the project

19 proposals Remote project Active 7 years ago

19 freelancers are bidding on average $38 for this job

icreatewebtech

Hello employer, I am professional Joomla developer and Designer from India. I am playing with Joomla from last 5 years. I would love to start your job for you. Can we discuss? Work with me I am sure you will get 100 More

$35 AUD in 1 day
(217 Reviews)
7.4
Max01

hello hope you are doing well I am interested to work on this project. Gladly waiting to serve you with my extensive skills.

$30 AUD in 0 days
(337 Reviews)
7.2
shihan033010

A proposal has not yet been provided

$30 AUD in 1 day
(328 Reviews)
6.8
NayaPakistan

A proposal has not yet been provided

$30 AUD in 1 day
(376 Reviews)
7.0
dghq123

A proposal has not yet been provided

$200 AUD in 4 days
(83 Reviews)
6.7
viradiyachirag91

Dear Sir, I found your job post on "Freelancer". I am expert Web Developer with more than 2 year experiences of CakePHP , Laravel, Angular JS, Codeigniter with Mysql as backend, Ajax, Javascript, Bootstrap, Jqu More

$35 AUD in 1 day
(16 Reviews)
4.2
cuibeauty

Dear sir How are you I have checked your propersal carefully and understood all your requirement I have also developed similar your project before.I'm expert of wordpress and codeigniter. I think it will take 10~15 More

$25 AUD in 1 day
(5 Reviews)
4.8
rajesh7186

Hello Sir, I will be do this job let me know if you have any questions thanks, rajesh

$50 AUD in 1 day
(7 Reviews)
2.7
MuhammadUsman124

I have developed something like this. I hope you will be satisfied with my code. If you want to ask anything, feel free to contact me. Thanks.

$25 AUD in 1 day
(0 Reviews)
0.0
krish916

A proposal has not yet been provided

$11 AUD in 1 day
(0 Reviews)
0.0
a830144

A proposal has not yet been provided

$45 AUD in 15 days
(0 Reviews)
0.0