Retrieving and storing data from pls file in PHP

I need to create a series of regular expressions to get data out of a pls file in PHP (a language I've only just started learning).

The file will output data similar to this:

Title1=(#1 - 3687/5000) Example Radio Station 

I need to retrieve and store the location of the stream with the port number included as well as the title.

I need advice on the best way to do this.

Any help will be appreciated. Thanks


You can use PHPs buit in function parse_ini_file to parse the ini formatted file.

Looks like an INI file to me. Maybe Zend_Config_Ini would be a useful way to parse it..

Need Your Help

How to display 'IntelliSense Babel icons in WPF?

.net wpf babel

How to display these 'IntelliSense Babel Icons' in a WPF Application?