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:
[playlist]
numberofentries=1
File1=http://203.150.225.71:8000
Title1=(#1 - 3687/5000) Example Radio Station
Length1=-1
Version=2
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