Parsing FIND MY IPHONE?
As you probably know there's that think called "FIND MY IPHONE" ( www.me.com ), that enables you to see your phones location on a google 开发者_StackOverflowmap in real time.
Yet I was thinking if there would be any way to make a PHP file that would 1. run automatically every, say, 15 minutes. 2. pass cookies with my username/password to me.com 3. retrieve the lat/long coordinates from it and save them into a database.
that way I would have a history of my phone's location.
how would you suggest doing it, can a php file pass cookies or is there something else needed? and how to retrieve those lat/long coordinates that are already shown on a google map?
Thanks!
If there aren't any limitations to this service you might be interested in reading about php cURL. Link: http://php.net/manual/en/book.curl.php
You can use cookies and login just like a normal browser.
cUrl is the best solution for your request, you can find some useful stuff here link text
I'm sure there is an app for that ;)
精彩评论