I have a site written in PHP where my login function is not working. The code for adding users is already written, but something broke in the process. I've attached the existing page code below so you can take a look.
The page should:
- store the new user for approval
- send a confirmation email to the user with their password
- send an email to the admin alerting them of the new user
- display a confirmation message on the page after a user has registered.
The register page is here: [url removed, login to view]
Please let me know if clarification is needed.