New user registration requires admin authorisation

I've a Register/login/Logout process working well with all stored in Mysql.
I'd like to add that when a new user registers :-
They receive an email link which is used to prove the email address.
The admin receives and email to make the choice of allowing the new user access.
I think this is a pretty typical CMS system.

What is the best way to add the extra processes.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hugh McCurdyCommented:
PHP has a built in mail feature.  You might need some help getting it working but please read this  so that you at least understand theory.  You might want to use a different method of sending mail but knowing the native way that PHP sends mail would be good.  (Sometimes mail sent by PHP gets blocked in spam filters)

Since a human will decide to grant access, the from address of the e-mail you send should be a real address that is monitored by the admin.

Finally, you can make a form that accepts e-mail address and updates the Y/N access flag.  I suggest this be somewhat advanced.  The admin types in or copy/pastes the e-mail and submits.  The CGI (PHP) looks up the record in mySQL and shows you some information (such as name) and then has a checkbox to let you change the permission level.  (You might choose to ban someone who previously had access).  I can help you with this but my solution is complicated and you'd have to change it.  (I used it as part of my final project in a Web Dev class).

I expect you'll have a lot of questions related to this task.  For now, I'm just giving you the overview.

I will be out most of today but other experts should be around.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
encodemeAuthor Commented:
Hi, Many thanks,
 I'll start to go down that route and report back.
encodemeAuthor Commented:
Thanks again for the direction.
I've  got a working solution now, and will try refine it.
Hugh McCurdyCommented:
Great.  Glad it worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.