Notice: this does not appear to be functional with the change to iCloud. It might be as easy as changing the URLs around but chances are good the whole API was changed.
An object-oriented PHP interface to send payloads to me.com's findmyiphone
service.
See usage.php