Jump to content


Photo

Forum and txt files


  • Please log in to reply
7 replies to this topic

#1 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 08 October 2006 - 12:30 PM

Hi everyone!

I'm starting to program a forum, and I am not sure which is the best option.

The question is:

Can you make a forum using txt files?
Is it better with a data base?


I believe it is possible, but I want to make sure before I start.

Thanks for your time!

#2 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 08 October 2006 - 01:19 PM

Most forums use databases. Databases are much more dynamic and easy to manipulate compared to txt files.
So I would say the database option is much better.

Orio.
Think you're smarty?

(Gone until 20 to November)

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 08 October 2006 - 01:35 PM

A forum with files will be faster then a forum with a database but will be a lot more work then useing a database.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#4 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 08 October 2006 - 01:38 PM

Also, if it uses files that everyone can access if they know their name/location, sensative information can be viewed (such as passwords/hashes).
In a database it's (I won't say impossible but) very very hard to get this kind of information.

Orio.
Think you're smarty?

(Gone until 20 to November)

#5 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 08 October 2006 - 01:40 PM

I see... thank you. Great!

I have a clearer idea now!!

#6 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 08 October 2006 - 01:43 PM

Orio i agree to disagree but it all depens on what you know in the programming field of files.

Example i can create a login system with files as secure as a database login system.

But the truth is that the work involved for files is far more then a database.

Use mysql it's free.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#7 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 08 October 2006 - 01:48 PM

Heres a link to follow to create a simple forum good luck.

The simple forum tutoral uses mysql database ok.

sometimes the site it self with this tutoral goes crazy so you got to refresh the page but the simple forum tutoral is there.


http://www.tutoriali...m-tutorial/9962
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#8 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 08 October 2006 - 03:44 PM

;)

hey! that web looks good!! I'll check it out!
thanks again!!!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users