Your problem is not difficult. The the simplest algorithm looks something like
this.
1. On the server you create a text file. In this file there will be
all the posts.
2. When a user send a message, your application checks the time and
writes the message data to the text file.
3. Then your application loads the text file and show it to users.

It is better not to use the text file, but use the xml file.

For example.
<?xml version="1.0"?/>
<messageBoard>
  <messages>
    <message id="1">
      <date>25.11.2003</date>
      <time>01:50 pm</time>
      <user>
        <name>John</name>
        <email>[EMAIL PROTECTED]</email>
        <web>http://www.johnhomepage.com</web>
        <message>John's message here</message>
      </user>
    </message>
    <message id="2">
      <date>25.11.2003</date>
      <time>01:59 pm</time>
      <user>
        <name>Jane</name>
        <email>[EMAIL PROTECTED]</email>
        <web>http://www.janehomepage</web>
        <message>Jane's message here</message>
      </user>
    </message>
  </messages>
</messageboard>

Then your application will load this xml file, parse and show to
users.

Another method is to use sql db. But in this case you need to use db
xtra.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to