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

Home » General » General Chit Chat » Why store messages in a file?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Why store messages in a file? [message #15279] Mon, 08 December 2003 02:58 Go to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
Hi Ilia;

I have a question. I was trying to add a 'Latest Forum Post' heading to my index page, but when I took a look at the tables I realized that the message text is stored in a file. I was just wondering why this is? Is it faster to read the messages from a file rather than a text column in MySQL?
Re: Why store messages in a file? [message #15280 is a reply to message #15279] Mon, 08 December 2003 03:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This question has been answered in great detail many times on the forum, please search the forum for the answer.

FUDforum Core Developer
Re: Why store messages in a file? [message #15281 is a reply to message #15279] Mon, 08 December 2003 03:59 Go to previous messageGo to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
Ok, speed as suspected. Can you point me in the direction of an existing function to read the text given the message ID? No sense re-inventing the wheel if one already exists.
Re: Why store messages in a file? [message #15284 is a reply to message #15281] Mon, 08 December 2003 13:00 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
look @ fileio.inc.t

FUDforum Core Developer
Re: Why store messages in a file? [message #15286 is a reply to message #15279] Mon, 08 December 2003 13:39 Go to previous message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
Thanks, saves me digging.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: where should FUD forum be installed
Next Topic: New FUDforum 2.52 -
Goto Forum:
  

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

Current Time: Sun Dec 22 04:12:56 GMT 2024

Total time taken to generate the page: 0.02691 seconds