100 Web Space
http://forum.100webspace.com/

textfileBB - a flat file bb website
http://forum.100webspace.com/viewtopic.php?f=8&t=3424
Page 1 of 1

Author:  jcink [ Sat Jan 07, 2006 1:49 am ]
Post subject:  textfileBB - a flat file bb website

Site: http://texfil.mybesthost.com/
Desc: the official textfileBB site for support on textfileBB on 100webspace free hosting. textfileBB is a free message board program made out of entirely flat files! No database is needed. Signup there for info/news/help about it. :D

Download: http://jcinkcom.ho8.com/phpqa/index.php ... ost&id=489
-jcink

Author:  cookay monster [ Sat Jan 07, 2006 6:42 am ]
Post subject: 

No db :o ? Sounds interesting :D

Author:  Dale [ Sat Jan 07, 2006 10:21 am ]
Post subject: 

Nice man!!

Can I just ask, does this use a text file as the DB ?

I'd just like to warn you that if it does it's extremely insecure :(


I'm going to download and have a go off it :D

Author:  Revaroo [ Sat Jan 07, 2006 4:04 pm ]
Post subject: 

Is this made for people without a database?

Author:  jcink [ Sat Jan 07, 2006 6:04 pm ]
Post subject: 

thanks everyone!

Yes, it uses text files. :) It's made for people without a database.

As far as I know, everything seems pretty secure, whats insecure about text/flatfiles :shock:

Author:  Dale [ Sat Jan 07, 2006 7:36 pm ]
Post subject: 

People can download them off your webserver and view passwords etc..

Author:  jcink [ Sat Jan 07, 2006 8:29 pm ]
Post subject: 

Ohh, I see what you mean, my mistake though but I guess I said the wrong thing about the forum.

You see, they're actually PHP files with nothing but text in them. The only bit of PHP is at the top, the php die(); statement.

Look on here: http://texfil.mybesthost.com/forumposts ... 0webspace/ That is the folder for the forum. You can download those files, but the only thing there is a topic title, they're actually PHP so no one can get any info. http://texfil.mybesthost.com/accounts/ this is the same for the accounts, and inbox files - in fact those are totally blank. The account files dont echo any information.

There is some content stored in actual text files, but the info stored in those isnt of any value. Example being id_data: http://texfil.mybesthost.com/id_data nothing to get from those. :lol:

Hope that cleared any security worries up,
Jcink

Author:  grabacontroller [ Sat Jan 07, 2006 10:01 pm ]
Post subject: 

Ya Thats pretty neat. :D Thats good if you want a zillion posts on your site without eating your database. :lol:

Author:  rm249 [ Sun Jan 08, 2006 2:10 am ]
Post subject: 

It WILL eat your space though, but most people have WAY more than they actually use :)

Author:  Dale [ Sun Jan 08, 2006 9:21 am ]
Post subject: 

Yeah thats great, I thought you meant it wrote and read from a .txt file :P

To be even more secure, you could block directory indexing..But I dont realy think you need to :)

Author:  jcink [ Mon Jan 09, 2006 12:21 am ]
Post subject: 

Thanks,

Yes, thats a big question.

Actually, I tested before the final release of 1.0v and found that the forum was slow in some places. I completely recoded certain places to stay speedy as possible. Like, you can have 10,000 members + (I filled up the member txt file to test) and the forum will have no slowness at all. The index was also sped up, I stopped going into all the forums and counting that way.

I'd say about the biggest speed issue there is left is the forum view of the threads. To solve that though, what I did was the MAX the main index folder can hold is 50 new files. Once it hits 50, to keep the boards speedy throught the whole thing, it carries the posts into the /old/ forum. (hence the dropdown on the thread view of "Latest Posts", "Older Posts"). Yes, the /old/ folder is going to be a little slower as time goes on, as its just cramming all of the threads into there.

So the only major slowness that I've experienced is the threads, when you get A LOT of them and you try to view the archives, those pages are slow.

Other than that things seem pretty fine speed wise, but, you're right, the speed will never be the same in the way a MySQL board scales and a Text based forums does. I would definitely not try to run a "huge" forum e.g. millions of members and posts, that would just lag. Whereas a MySQL forum is fine.

-jcink

Author:  =cipher= [ Mon Jan 09, 2006 11:57 pm ]
Post subject: 

Hey,

Well, to tell you the truth...

Creating a Bulletin Board on just text files would not be too hard. All you really do is just have seperate text files where you right certain information too.

But it looks great! :D

Author:  grabacontroller [ Tue Jan 10, 2006 4:48 am ]
Post subject: 

Forget about the zillion posts idea then. :lol:

Author:  jcink [ Tue Jan 10, 2006 7:50 pm ]
Post subject:  lol

Well, as an experiment I added a million posts to the forum by spamming one, then I just copied the topics over into 20 forums.

http://texfil.mybesthost.com/index.php?do=idx

I think it held up pretty ok with 1,000,000 posts on there. :D

Author:  Dale [ Tue Jan 10, 2006 8:20 pm ]
Post subject: 

Quote:
I added a million posts


Bored ?

Author:  rm249 [ Tue Jan 10, 2006 8:49 pm ]
Post subject: 

You CAN notice a bit of a slowness with the 1M posts, but it does do fairly well for THAT many posts :)

Author:  grabacontroller [ Tue Jan 10, 2006 8:51 pm ]
Post subject: 

LOL That is super funny. It does a really good job. :P

Author:  jcink [ Tue Jan 10, 2006 8:54 pm ]
Post subject: 

Dale wrote:
Quote:
I added a million posts


Bored ?


:lol: No, I didn't actually post 1 million times, doing that took about 15 minites.

I made the one topic of 1000 replies, and set my ftp program to send 50 of those topic files to each forum folder by itself :P

Good to hear the speed is not so bad, thanks everyone. :)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/