Simple PHP Login

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mydingding
Forum Newbie
Posts: 2
Joined: Thu Oct 23, 2003 10:07 pm
Location: hawaii

Simple PHP Login

Post by mydingding »

Hey i've got this assignment for class and my group and i have no clue how to create this. I was wondering if someone had a script that would be similar to meeting these requirements so that would give us something to work off of.

1. In this assignment, you will create a form with the options to register or log-in. This form should have input fields for username and password and a Login button as well as a button/text (whatever you want) for registration.
2. You will eventually have to create another form to register if the user chooses to register (clicks the register button).
The following input fields for the registration form are required, but you can add more if you desire.
• Username (Minimum of 5 characters, Maximum of 8 characters, only letters and numbers) – CASE INSENSITVE
• Password (Minimum of 8 characters, Maximum of 16, only letters and numbers) – CASE SENSITIVE
• Confirm Password (Should be the same as the password.)
• Email Address (Require @ sign, a period after it, and domain name.) – CASE INSENSITIVE
• And also include option (example: button) to submit form
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

1. its your assignment
2. we do not make scripts for you
3. try doing something and if it doesent work.. post ti here and we will help you.
Post Reply