1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

google maps server php not working

Discussion in 'Apache' started by maryam magdy, Apr 6, 2018.

  1. #1
    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
     
    maryam magdy, Apr 6, 2018 IP