Thursday, October 2. 2008Making server side playlist with PHPTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
If you add an address rewriting at your http server you can solve the winamp problem.
~/playlist.m3u??sort=rand -> ~/playlist.php??sort=rand
What is the $dir='/path/to/files/'; suppose to point to?
Is it the folder on my server where the mp3 files are located? How is it suppose to look (syntax)? I just no idea what I'm to put there?
may be you should just play with the code? and yes, that's the path to the folder where mp3 are
Hi, GREAT script! I would like to save the file on the server instead of forcing browser download. How could I edit this to do so?
Here it is
file_put_contents("/to/my/playlist.$format", join("\n", $files)); Obviously the part with the headers must be removed. |
CategoriesQuicksearchArchives |