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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Why store messages in a file? [message #15279] Sun, 07 December 2003 21:58 Go to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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] Sun, 07 December 2003 22: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
add to buddy list
ignore all messages by this user
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] Sun, 07 December 2003 22:59 Go to previous messageGo to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 08: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
add to buddy list
ignore all messages by this user
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 08:39 Go to previous message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Thanks, saves me digging.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Fri Oct 24 04:26:04 EDT 2014

Total time taken to generate the page: 0.00651 seconds