PHP forum without MySQL or any database!

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
rado
-


Joined: 14 Apr 2004
Posts: 67

PostPosted: Thu Sep 02, 2004 9:01 pm    Post subject: PHP forum without MySQL or any database! Reply with quote

PHP Forums - no MySQL database required! Or any DataBase! Very fast forums!

Easy Forum! 2.2
http://hot-things.net/htedbs.php
NavBoard
http://navarone.f2o.org/forum/

And here is a nice alternative to MySQL or any other database:
http://bg.php.net/manual/en/ref.sqlite.php
http://sqlite.org

That is great!


Last edited by rado on Sun Sep 05, 2004 5:39 pm; edited 1 time in total
Back to top View user's profile Send private message
MUGH8506
-


Joined: 14 Jun 2004
Posts: 72
Location: Hell

PostPosted: Sat Sep 04, 2004 5:51 am    Post subject: Reply with quote

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 View user's profile Send private message MSN Messenger
k1ll3rdr4g0n
-


Joined: 04 Jul 2004
Posts: 609

PostPosted: Sat Sep 04, 2004 7:37 am    Post subject: Reply with 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.
_________________
Back to top View user's profile Send private message AIM Address
rado
-


Joined: 14 Apr 2004
Posts: 67

PostPosted: Sat Sep 04, 2004 4:47 pm    Post subject: Reply with quote

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 View user's profile Send private message
E-Oreo
-


Joined: 18 Apr 2002
Posts: 17

PostPosted: Sat Sep 04, 2004 9:09 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website
rado
-


Joined: 14 Apr 2004
Posts: 67

PostPosted: Sun Sep 05, 2004 5:41 pm    Post subject: Reply with quote

What is *nix?
Back to top View user's profile Send private message
badone
-


Joined: 23 Sep 2004
Posts: 1

PostPosted: Thu Sep 23, 2004 6:04 pm    Post subject: Reply with quote

rado wrote:
What is *nix?


Unix and all of its variants such as Linux, FREEBSD, and the like.
Back to top View user's profile Send private message
rado
-


Joined: 14 Apr 2004
Posts: 67

PostPosted: Thu Sep 23, 2004 8:55 pm    Post subject: Reply with quote

aha - all unix like.
Back to top View user's profile Send private message
jans
-


Joined: 04 Jun 2004
Posts: 20

PostPosted: Wed Sep 29, 2004 7:16 pm    Post subject: Reply with quote

Try YaBB and you're done, works fine and clean.
Back to top View user's profile Send private message
rado
-


Joined: 14 Apr 2004
Posts: 67

PostPosted: Thu Sep 30, 2004 6:23 pm    Post subject: Reply with quote

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 View user's profile Send private message
Arctic
-


Joined: 24 Sep 2004
Posts: 560

PostPosted: Sat Oct 30, 2004 8:21 pm    Post subject: Reply with quote

A message

Last edited by Arctic on Sat Apr 20, 2019 5:18 pm; edited 1 time in total
Back to top View user's profile Send private message ICQ Number
rado
-


Joined: 14 Apr 2004
Posts: 67

PostPosted: Sun Oct 31, 2004 6:52 pm    Post subject: Reply with quote

thanks for the links.
Back to top View user's profile Send private message
Arctic
-


Joined: 24 Sep 2004
Posts: 560

PostPosted: Sun Oct 31, 2004 7:12 pm    Post subject: Reply with quote

A message

Last edited by Arctic on Sat Apr 20, 2019 5:18 pm; edited 1 time in total
Back to top View user's profile Send private message ICQ Number
amonia
-


Joined: 10 Oct 2004
Posts: 45

PostPosted: Mon Nov 01, 2004 4:02 pm    Post subject: Reply with quote

The first one is really nice. (Elite forum)

The second is huge. Not for begginers.
Back to top View user's profile Send private message
Arctic
-


Joined: 24 Sep 2004
Posts: 560

PostPosted: Tue Nov 02, 2004 12:48 am    Post subject: Reply with quote

A message

Last edited by Arctic on Sat Apr 20, 2019 5:18 pm; edited 1 time in total
Back to top View user's profile Send private message ICQ Number
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Tue Nov 02, 2004 9:12 am    Post subject: Reply with quote

you goons ...cant read....yabb is also php ready.
_________________
living in an armish paradise.....no gates here!

mawuahahaha :)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group