FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » alternative to fwrite?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: alternative to fwrite? [message #182992 is a reply to message #182990] Tue, 01 October 2013 15:58 Go to previous messageGo to previous message
Christoph Michael Bec is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: LAMP starting point
Next Topic: glob patterns
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 05 10:26:18 GMT 2024

Total time taken to generate the page: 0.04896 seconds