Description: A user registration page is created for the user to create his account on this web-site.
1) /includes/createSelect.php : To show the locations in drop-down list.
2) registerSubmit.php: It receives form data from login.php to verify auth of user. User's DB is checked to verify the user ID.
3) register.php: It is the main page for the user to registrate. A form's field is extracted from createSelect.php.
4) feedback.php.php: For successful or unsuccessful login, users are forwarded to this page and error messages are generated for unsuccessful registration.
Learnt: Putting all form-content inside a include file for tidiness. Using session again to check the existence of the user. Simple javascript to check to form is well filled before sending it back to the server.
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2013
(219)
-
▼
July
(25)
- Form elements added by jquery not getting on the s...
- Sessions
- $_get() in php
- SQL: exists
- Php Error Control Operators
- Control structures in Php: return
- User logs out in php Penny Auction
- Security
- PHP File Uploading
- Assignment #7: User registration
- No title
- The History of PHP
- How to reset Mysql root pasword on Windows
- PHP foreach statement
- Php Tips
- Cake php Data validation
- How to use XMLHttpRequest
- While Loop in Php
- Reasons to Love PHP and MySQL
- The do while Statement
- Get result from database using a function SafDBFunc
- Javascript for checking Caps Lock is ON or OFF
- concatenation in php
- Php Comparison Operators
- PHP coding tips to write less code (If then else a...
-
▼
July
(25)