Reputation: 723
I want to be able to have the user select an OPML file that contains a large number of bookmarks, then loop through each one and toss it in a mysql database.
Any direction would be much appreciated.
Upvotes: 1
Views: 674
Reputation: 61577
In the end, parsing any file comes down to a few things:
$_FILES
If this is a big file, you will also want to look it things like max_upload_size
and other upload size restrictions. Also, look into a way to let the user know you are working if the script takes a while to process the file.
Upvotes: 3