Parsing a SRT Subtitle File using Various Parsing
Tutorials Shared by the Internet Community
Total Hits - 27125
Total Votes - 99 votes
Vote Up - 42 votes
Vote Down - 57 votes
Domain - www.talkphp.com
Category - PHP/File Handling
Submitted By - Devesh Khanna
Submitted on - 2008-03-16 05:55:05
This article will be introducing a couple of nifty tricks that I've seen scattered around the Internet. One of which is how to detect for the presence of those pesky carriage returns.
The article will show you how to take a correctly formatted SRT file and parse it using PHP. Another parse function for the PHP library to go alongside parse_url, parse_ini_file, et cetera! ...