Jump to content

Posting

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
10 replies to this topic

#1
Sephirot

Sephirot

    Newbie

  • Members
  • Pip
  • 5 posts
Hello,

this is my first post and my question might be a little noobish, but i was wandering how I can create something like a mini-forum, like this:

clubs.dir.bg/postlist.php?Board=ezotermed&page=1&view=collapsed&sb=5

where all the topics appear, and when you open one, you see only one post at a time, and the others and listed below. I don't want to make user accounts and stuff, and everyone will be able to post without registering:
Something like he clicks post reply -> and goes to Name: (text field) Text: (text field).
I don't want to use MySQL, just PHP and text files if possible. I have no idea how to go about this, so I am hoping somebody can help me. Thanks in advance!

P.S The link is in Cyrillic, so the characters might appear fucked up, but when I find something similar in English, I'll replace this it.

#2
mikelbring

mikelbring

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts
I am sure there is a ton of tutorials on helping you. This is not just a simple tell you how but I can say using MySQL would be a lot easier.

#3
Sephirot

Sephirot

    Newbie

  • Members
  • Pip
  • 5 posts
I did search for tutorials, but I couldn't find a tutorial for this. If you could give me a link to one, this would be help enough.

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
How about storing the data in XML files instead of MySQL, or use sqlLite? Either way, you don't need a DB, and in the former you can use PHP's parsing functions.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#5
Sephirot

Sephirot

    Newbie

  • Members
  • Pip
  • 5 posts
Using XML files sounds great, only how do I create an XML file with PHP and could you please give me an example of parsing from an XML file? I think I should be able to handle the rest.

#6
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
I think there's a PEAR package for it.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#7
Sephirot

Sephirot

    Newbie

  • Members
  • Pip
  • 5 posts
OK, I decided to use MySQL after all. I competed the forum and all on my computer but now I have another question. Everything is working fine on my computer but how do I upload the MySQL databases on a server? The databases consist of frm, MYD and MYI files in mysql/data. Do I just upload them in the main folder when on the server or do I somehow show the path to the databases to to the server?

#8
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Do you have phpMyAdmin on the web one? You can import databased from there.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#9
Sephirot

Sephirot

    Newbie

  • Members
  • Pip
  • 5 posts
I haven't actually decided where to upload it yet. But know I will be looking for one with phpMyAdmin. So how does it work?

#10
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
You simply log in to phpMyAdmin, then on the main page click Import. I've just opened it now, the Select File dialogue seems to accept all types of files, but I don't have any local databases handy to try it. It should be fine though.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#11
Lily2009

Lily2009

    Newbie

  • Members
  • Pip
  • 3 posts
where all the topics appear, and when you open one, you see only one post at a time, and the others and listed below. I don't want to make user accounts and stuff, and everyone will be able to post without registering:
Something like he clicks post reply -> and goes to Name: (text field) Text: (text field).
I don't want to use MySQL, just PHP and text files if possible. I have no idea how to go about this, so I am hoping somebody can help me.