Can i parse a plist file with php and kind of get it into an array, like the $_POST['']
so i could call $_POST['body']
and get the string that has the <key> body
?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Correctly parse PDF paragraphs with Python
- Can php detect if javascript is on or not?
CFPropertyList - A PHP Implementation Of Apple's plist (PropertyList)
Took a look at some of the libraries out there but they have external requirements and seem overkill. Here's a function that simply puts the data in to associative arrays. This worked on a couple of exported itunes plist files I tried.
Googling for "php plist parser" turned up this blog post that seems to be able to do what you are asking for.