Advanced Search

Results 1 to 2 of 2

Thread: how to put log.in form?

  1. #1
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to put log.in form?

    hi i just want to ask what language should i use in making a forum ? and can anyone give me codes in making forum ?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,154
    Thanks
    260
    Thanked 690 Times in 678 Posts

    Default

    You will need a server side coding language, such as PHP, ASP/.NET, CGI, JSP, Python, or anything else that can run on your server and generate HTML.

    Then you can consider two options for storing the data:
    1. Flat files (usually .txt text files). In some sense, easy, but also terrible for organization (you'll have hundreds or thousands of random files on your server). And incredibly difficult to search through. So for a very small website like this, it's possible. Anything else, use the second option:
    2. Store the data in a database. This is slightly harder to learn (just at first), but in the end much easier to use, and very easy to search. This is what databases are for, so there's no better solution-- this is the answer. Some common database languages include MySQL, other SQL types, Access, and others.

    Of course your serverside language will need to be able to "talk to" your database (which is almost always possible, just make sure the connections work), and also be sure that your server has both available.

    The most frequent of these, at least on standard hosting, is to use PHP and MySQL. That's what we're using at the moment to talk to each other on this forum

    Then in addition to the database and serverside language, you'll need HTML (for content), CSS (for formatting), and possibly Javascript (for interactive elements). At least HTML is required, CSS is optional (but will make your site look good and without it it would be very boring), and JS is completely optional, just if you want it.


    Of course it's very complicated to write all of this. I'm not sure you want to do it all yourself, and it is an example of "reinventing the wheel"-- there are lots of free (or expensive) packages out there.
    Personally, I like SMF: http://www.simplemachines.org/

    But look around for various options. This site can help:
    http://www.forummatrix.org/
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •