title: How to receive GPS data from device with PHP?
body: <p>I have a car GPS device, the only thing I can change is the IP-address.</p>
  
  <p>Is it possible to have shared hosting with a dedicated IP-address (that part is possible) and then to have a PHP script that picks up the data that is being send?</p>
  
  <p>So what is in my mind:</p>
  
  <ul>
  <li>GPS device send gps data to IP-address.</li>
  <li>That IP-address has a PHP script that picks up the data and use it.</li>
  </ul>
  
  <p><strong>As requested a little bit more detailed.</strong>
  There is a question that is exactly the same but don't have an answer: <a href="https://stackoverflow.com/questions/24173244/how-to-get-data-from-gps-and-send-to-server-and-how-save-to-database">how-to-get-data-from-gps-and-send-to-server-and-how-save-to-database</a></p>
  
  <p>It is a Chinese car GPS device with a standard IP address. So it sends data to that IP address. Then they give us a website where we can login with the product code and we can see the GPS location.</p>
  
  <p>It is possible to change the IP address in this device. I have found shared hosting with a dedicated IP address, but that means the IP address just replaces the URL so it works just as an URL, so it is not that I can change the server and install something like openGTS.</p>
  
  <p>But I have no idea what kind of data (I don't think it is just GET or POST data) this device is sending. So I am wondering if the GPS is sending the data to an IP address whether I have to do something special with java on that server or I am able to use a PHP script to pickup what the GPS device is sending? Once I get the data I know what to do with it. All I need is the data to be picked up by a PHP script.</p>