Looking for four fairly straightforward scripts. Please pay close attention to detail.
1) register.php
* design form to enter
- username (check that it doesn't already exist)
- password (more than 5 chacters)
- email address (simple validation; perhaps enter twice)
- mobile phone number
- subscription group - pick up up from URL (domain.com/register.php?g=nameofgroup)
* store all of the above in a
mysql database along with "0" verifcation flag, random token and date:time
* send email requesting verifcation of email address (with token)
2) verify.php (linked to from vefification email)
- turns verification flag "1" if token matches
3) resend.php
- user can get password resent to them by entering their email address
4) action.php
user enters three fields:
- username
- password
- message (up to 200 characters): it would be cool to have a countdown number of characters remaining
- if username and password match with the
mysql database, post username and message to send.php [no need for you to develop this send script - just post the variables]
- if username and password do not match, echo an error message and ask user to re-enter (though keep the message to save them having to retype the whole thing again)