logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: google maps server php not working
Author
maryammagdy



Joined: 06 Apr 2018
Posts: 1
Location: Dubai

PostPosted: Fri 06 Apr '18 19:08    Post subject: google maps server php not working Reply with quote

Hello, I'm trying to design a google maps server for online tracking. It accepts variables sent by a gsm module. so far I can see a googlemaps with an initial position but it doesn't seem to receive the parameters I send it using the gsm module. I use a serial terminal to send AT commands to the server. The gsm module connects successfully to the internet and can open websites and even the server's webpage but when I let it send the longitude and latitude it sends me an error.
For example this AT command which opens the server webpage works:
AT#HTTPCFG=0,"http://localhost/demo_sim908.php"

But this one which sends the parameters gives me an error:
AT#HTTPCFG=0,"http://localhost/demo_sim908.php?visor=false&latitude=0&longitude=0&altitude=0&time=0&satellites=0&speedOTG=0&course=0"

The server code is taken from here https://www.cooking-hacks.com/projects/arduino-realtime-gps-gprs-vehicle-tracking
Back to top


Reply to topic   Topic: google maps server php not working View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner