1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: Walkthrough: Parsing a SRT Subtitle File using Various Parsing Techniques

  1. Clicks today:
  2. Clicks this month:
  3. Overall rating:

PHP » File Manipulation — about 12 years ago
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!


Your Comment

You must be logged in to post a comment.