FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


A Registeration & Login Page





Ryox
Using a Mysql Database, How do you make it so users can Register for a Account & How do you build a Simple Forum like Freewebs?


I want a Forums like Freewebs, but I can't add Freewebs as my hosting service through my domain name, http://ryox.org

This is a picture of a Simple Thing I want.. (I want my site to be a FAN Site) so I want it to be like Personal / Staff Site, Put in Together.

thnn
You could always use a premade solution like PHPBB (What this site uses) or something for your forums.

Otherwise the way I would tackle it is to make a table in the database that holds your users, and any information you want about them
I would then make a registration page that stores all the users data in the database, the login page would check that the username and password matches and then store a cookie or session variable that contains the users id and encrypted password (makes it harder to falsify a login)

For the forums I would have at least two tables, one holding the topics, one holding the posts, and possibly one to hold the different forums.
From there I would then list all the topics with links and then pull the posts (probably paginate them as well) and display user data to the side etc. You can also include any amount of information you like, and display it how you want.

Hopefully this somewhat answers your question
Ryox
I just wouldn't know how to code it, thats the only problem.
thnn
Code the PHP, MySQL or Both?
Fire Boar
In that case use a premade solution. Look up phpBB and download it, then upload the package to your hosting provider. Then extract the file and open install.php in your browser. There are instructions on how to do all this on the phpBB website.
riccopt
go with some ready made solution like: SMF or PHPBB...
Related topics
Can't login
Site Members' System
changed domaine name, now login page wont work in phbb2
Login System help
Directadmin Server 2 Problems
Need help with Members area/link adder
How can I make a login page?
Reloading Login Page
Need animated logo for mail login page
Site Authentication Frm Adsense 4 Crawling Login-protected
Redirect to previous page on login
Login link in the main page itself
Help me creat login page Phpmyadmin
Joomla 1.6 login form 404 page
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.