callumacrae / plist
A plist parser for PHP
1.1.0
2012-07-12 16:49 UTC
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2024-12-21 15:24:06 UTC
README
This plist parser simply parses a plist file and returns an array of data found in the file. It is extremely easy to use; the following line of code is an example of how it works:
$array = plist::Parse('path/to/file');
The demo (itunes_demo.php) will parse the iTunes plist file - remember to tell it where it is - and tell you how long you have listened to your music for. DO NOT USE THE DEMO ON A LIVE SERVER. It can use a lot of resources, and is also vulnerable to RFI injection (kind of intentional to keep the script simpler).
It is released under the Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license: http://creativecommons.org/licenses/by-sa/3.0/