I’m trying to create a form on a separate page (instead of the existing user profile edit page) that contains just the field that allows users to change their e-mail address (and no other fields).
My plan was to first create page identical to the profile.php on a separate page and then, once this was working, strip out everything except the source code required to make the e-mail change form work. What I’ve tried so far:
1. Create a new php file ’emailchange.php’ in a new directory.
2. Add the source of profile.php to emailchange.php.
3. Copy all includes to the same directory.
The problem is that this does not seem to work and I cannot seem to get the new emailchange.php to load. I feel there must be a more efficient way to do this, but I’m too much of a noob to figure it out.
Could anybody possibly point me into the right direction on how to do this?
- The topic ‘Form to Change User E-mail’ is closed to new replies.