Re: alternative to fwrite? [message #182992 is a reply to message #182990] |
Tue, 01 October 2013 15:58 |
Christoph Michael Bec
Messages: 207 Registered: June 2013
Karma:
|
Senior Member |
|
|
Mr Oldies wrote:
> In my attempt to make my site work, I have concluded that fwrite just does
> not work properly.
> For my online radio file I created a file using fwrite.
> Other people are reporting that they see the playlist but get no sound.
> Regardless of browser being used.
> Even on my end, if I open IE and Opera, I get no sound while Firefox plays
> fine.
If you are creating a *single* file to store information about the
playlist, than this file will be used for *all* visitors, what might not
be what you want.
Furthermore if you do not lock the file properly, that might lead to
corruption of the file due to concurrent write access, and reading might
fail.
> What else can I use to create a list online?
Dynamic data retrieved from the database, for example.
--
Christoph M. Becker
|
|
|