Parsing a SRT Subtitle File using Various Parsing

Tutorials Shared by the Internet Community

Advertisements


Synopsis

This article will be introducing a couple of nifty tricks that I have seen scattered around the Internet.

Statistics

  • Total Hits - 27298

  • 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

Description

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! ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements