I'm trying to confirm a user before he/she enters a somewhat secure area...
I have a script called joinForum.php which the person enters their nickname and email address.
I then want the script to create a unique 8 digit ID. (both a-z and 0-9).
The script will then email them an email that they must click on to confirm.
it will be a string like like this, confirmForum.php?id=123abc00&email=whatever@somedomain.com&name=fly
Once they click on that, the script will remove them from the temp file and put them in the master file.
I want to use a regular flat text storage using fopen, fputs, fclose, no mysql
To login, they will need to enter their email address
THe script will then search the master file to see if its a valid one and bring up a list of information which will create a string in another script called
enterForum.php?id=123abc00&email=whatever@somedomain.com&name=fly
whenever they post a message, their email and name will be listed there by getting the info from the query string...
for security, if they try to change their nickname or email in the query string, and then refresh it, it won't work. The script will check to see if its valid again. Yes i know this will bog down the server but I only expect less then 100 people to use this...
Please write me the codes using ------ to divide the code in each .php script.
Thanks for all your help!