Jump to content

Recommended Posts

Hi All,

 

I have done some basic PHP/MySQL Programming.

I am playing about with an application for a phone, i want to send the information in its raw format to a location on my server.  Basically I want to enter an IP address or URL into the application, then simply view the raw contents in a simple txt file.  I have tried searching posts for a way to do this but came up short.

 

Firstly, is what Im trying to do, possible.  Secondly, can someone point me in the right direction to get started?

 

Thanks,

Dark

Link to comment
https://forums.phpfreaks.com/topic/202981-data-loggin-via-php-is-it-possible/
Share on other sites

Very possible.

 

You can acheive this by setting a server on your local box and making it accessible to the world (note that this opens up security risks) and using a domain service like no-ip.com to have a "name" to send your phone to.

 

To setup Apache on Windows see WAMP on Linux LAMP on Max MAMP ( I believe). Then you just have to setup the code you need.

Hi All,

 

Sorry for the mis-read earlier.  I dont need to access the info from my mobile.

I have an application that sends the phones IMEI and Current GPS location, it can either send it via SMS which is fine as I can just setup an SMS Modem to recieve the messages.

 

I want to be able to send it via GPRS to a "collector" on my site. 

The string that is sent is similar to this:

 

#REP#changeconfig#3934#17#012120000007502#52.345334#-7.343555#272023113718099#200#Mode#2#8#

 

What i want to do is simply store it in a txt or csv file for further analyses.

 

Thanks,

Dark

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.