array('http://31.192.216.10:8000/rmf_fm','http://195.150.20.9:8000/rmf_fm','http://195.150.20.243:8000/rmf_fm','http://195.150.20.5:8000/rmf_fm','http://31.192.216.8:8000/rmf_fm','http://31.192.216.5:8000/rmf_fm','http://31.192.216.7:8000/rmf_fm','http://217.74.72.11:8000/rmf_fm','http://195.150.20.8:8000/rmf_fm')
Jak z tego w locie zrobić plik pls z taką zawartością?
Kod
[playlist]
File1=http://31.192.216.10:8000/rmf_fm
Title1=
length=-1
File2=http://195.150.20.9:8000/rmf_fm
Title2=
length=-1
File3=http://195.150.20.243:8000/rmf_fm
Title3=
length=-1
File4=http://195.150.20.5:8000/rmf_fm
Title4=
length=-1
File5=http://31.192.216.8:8000/rmf_fm
Title5=
length=-1
File6=http://31.192.216.5:8000/rmf_fm
Title6=
length=-1
File7=http://31.192.216.7:8000/rmf_fm
Title7=
length=-1
File8=http://195.150.20.7:8000/rmf_fm
Title8=
length=-1
File9=http://217.74.72.11:8000/rmf_fm
Title9=
length=-1
File10=http://195.150.20.8:8000/rmf_fm
Title10=
length=-1
NumberOfEntries=10
Version=2
File1=http://31.192.216.10:8000/rmf_fm
Title1=
length=-1
File2=http://195.150.20.9:8000/rmf_fm
Title2=
length=-1
File3=http://195.150.20.243:8000/rmf_fm
Title3=
length=-1
File4=http://195.150.20.5:8000/rmf_fm
Title4=
length=-1
File5=http://31.192.216.8:8000/rmf_fm
Title5=
length=-1
File6=http://31.192.216.5:8000/rmf_fm
Title6=
length=-1
File7=http://31.192.216.7:8000/rmf_fm
Title7=
length=-1
File8=http://195.150.20.7:8000/rmf_fm
Title8=
length=-1
File9=http://217.74.72.11:8000/rmf_fm
Title9=
length=-1
File10=http://195.150.20.8:8000/rmf_fm
Title10=
length=-1
NumberOfEntries=10
Version=2
Właściwie to może i z samą zawartością pliku bym sobie poradził ale chce go tworzyć w locie

tzn ktoś kliknie w link strona.pl/plik-pls.php?id=10 to chcę, aby jeśli nie ma pliku 10.pls, stworzyło go w katalogu /play/ i żeby otworzyło się okno otwórz/zapisz plik