View previous topic :: View next topic |
Author |
Message |
rado -
Joined: 14 Apr 2004 Posts: 67
|
|
Back to top |
|
|
MUGH8506 -
Joined: 14 Jun 2004 Posts: 72 Location: Hell
|
Posted: Sat Sep 04, 2004 5:51 am Post subject: |
|
|
Thanks for shairing, but I don't need it..... heheheh _________________
http://www.trustabyss.com/
Last edited by MUGH8506 on Sat Sep 04, 2004 8:18 am; edited 1 time in total |
|
Back to top |
|
|
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Sat Sep 04, 2004 7:37 am Post subject: |
|
|
There is only one problem using flat-file based forums (im assuming this because its not using mysql) say 4 posters post at the same time.....ONLY 1 poster will be able to post becaue windows (i dont know about the other OS's) only allows one app to be reading a file as in this case a php script, or at least im sure thats why....gawd its been so long in the days when i thought geocities was a good host because of their web site building tools. _________________
|
|
Back to top |
|
|
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Sat Sep 04, 2004 4:47 pm Post subject: |
|
|
There is system for solving this problem. A post is "recorded" in separete file with a name: data_time.something (dat for example or txt).
The forum content is "constracted" from the simple alphabetical sort of the file names (by data and time). There can be many post at the same time!
But and many files - one small size file for each post. A biger forum can have "tree-like" structure.
Even a single flat-file is better for beginners! That is the idea. |
|
Back to top |
|
|
E-Oreo -
Joined: 18 Apr 2002 Posts: 17
|
Posted: Sat Sep 04, 2004 9:09 pm Post subject: |
|
|
Quote: |
There is only one problem using flat-file based forums (im assuming this because its not using mysql) say 4 posters post at the same time.....ONLY 1 poster will be able to post becaue windows (i dont know about the other OS's) only allows one app to be reading a file as in this case a php script, or at least im sure thats why....gawd its been so long in the days when i thought geocities was a good host because of their web site building tools.
|
*nix has solved this problem. You can use flock(); to lock a file and make sure your the only one with read/write permissions. If a file is already locked then the other users will have to wait until its unlocked and then they can get a lock, write, unlock, and so on. Since it only takes a fraction of a second to lock, write, unlock the delay is hardly noticable to the end user.
Flat files are not as easy to manage as a MySql database would be, but the upside is you only need to be running an HTTP server and you don't need a MySql server as well. |
|
Back to top |
|
|
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Sun Sep 05, 2004 5:41 pm Post subject: |
|
|
What is *nix? |
|
Back to top |
|
|
badone -
Joined: 23 Sep 2004 Posts: 1
|
Posted: Thu Sep 23, 2004 6:04 pm Post subject: |
|
|
rado wrote: | What is *nix? |
Unix and all of its variants such as Linux, FREEBSD, and the like. |
|
Back to top |
|
|
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Thu Sep 23, 2004 8:55 pm Post subject: |
|
|
aha - all unix like. |
|
Back to top |
|
|
jans -
Joined: 04 Jun 2004 Posts: 20
|
Posted: Wed Sep 29, 2004 7:16 pm Post subject: |
|
|
Try YaBB and you're done, works fine and clean. |
|
Back to top |
|
|
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Thu Sep 30, 2004 6:23 pm Post subject: |
|
|
No thanks. I am PHP fan not Perl!
System requirements to install YaBB
A web hosting account
Perl 5 (or higher) installed on the server your web account is on
CGI.pm v2.4+ and Socket.pm modules installed on the server your web account is on
At least 1 MB of diskspace on your webspace account; over 3 MB recommended
Sendmail (for Linux/Unix) or SMTP (for Windows/NT or Linux/Unix); optional, but recommended
I am looking for something small,elegant and beautiful. And small is all-ways is fast. Micro-forum. |
|
Back to top |
|
|
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Sat Oct 30, 2004 8:21 pm Post subject: |
|
|
A message
Last edited by Arctic on Sat Apr 20, 2019 5:18 pm; edited 1 time in total |
|
Back to top |
|
|
rado -
Joined: 14 Apr 2004 Posts: 67
|
Posted: Sun Oct 31, 2004 6:52 pm Post subject: |
|
|
thanks for the links. |
|
Back to top |
|
|
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Sun Oct 31, 2004 7:12 pm Post subject: |
|
|
A message
Last edited by Arctic on Sat Apr 20, 2019 5:18 pm; edited 1 time in total |
|
Back to top |
|
|
amonia -
Joined: 10 Oct 2004 Posts: 45
|
Posted: Mon Nov 01, 2004 4:02 pm Post subject: |
|
|
The first one is really nice. (Elite forum)
The second is huge. Not for begginers. |
|
Back to top |
|
|
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Tue Nov 02, 2004 12:48 am Post subject: |
|
|
A message
Last edited by Arctic on Sat Apr 20, 2019 5:18 pm; edited 1 time in total |
|
Back to top |
|
|
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Tue Nov 02, 2004 9:12 am Post subject: |
|
|
you goons ...cant read....yabb is also php ready. _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
|
|