View Full Version : User Interactive Website
Goober
12-16-2003, 04:41 AM
I want to make an interactive website where people have to register to interact. (like fill out a form giving loging information and stuff). I want to do this using PHP/MySQL. Would anyone please show me how to do this, or give me a link to a website/tutorial that will?
Thanks,
Goober
Take a look at these tutorials/scripts at hotscripts.com
http://www.hotscripts.com/cgi-bin/search.cgi?bool=AND&query=registration+login&catid=2
Registration and login form are basically like any other forms. Displaying and processing form is one of the key-competences you realy need to master if you want to write some serious databasedriven application, so i'd recomend you browse around at the hotscripts tutorial section for a few tutorials on formprocessing and multi-purpose pages, or that you google for them.
About your punctual question: loginscripts can be from 20 to 2000 lines of code, depending on how strict and secure you want them.
Writing a good security is extremely difficult. I find it the hardes part of the projects i've done this far.
I've writen 4-5 security modules in ASP or PHP, bur i still know that my latest version can be optimized (mainly towards a flexible and more userfriendly version). I know i wouldn't have been able to write a good security-module when i started coding, so i think you need to be realistic and setlle for either
- a rigid but secure smaller script;
- a smaller script that offers some kind of basic protection;
- a third party script
I think that the most important things you need to get right, are the way to identify the client and the proper use of session-variables. Tight security shouldn't be in any way based or mingled with PHP's sessionmanagement. I've started writing a tutorial on it, but other things got in the way.
Bottom line: i think you need to read some of the tutorials on more basic securitysystems (like at http://www.hotscripts.com/PHP/Tips_and_Tutorials/Security/index.html ) and then, if you need a tighter system, do a lott of experimenting and ask a lott of questions (or do some searches)
Goober
12-16-2003, 09:53 PM
Thanks man :thumbsup:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.