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.
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.
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.
You can use this question to entertain them while they are waiting.