I have a website hosted on a linux platform and running php & mysql, what i want to do is that when a member registers for an account we take his username and password and register an email address using those details. Now the email address is not the same as the domain name that the website is hosted on, however i own the domain name. The back end of the domain name uses an extend control panel, i am not sure if this is possible i have seen something similar using a php class for control panel.
What i need is a script that will take the two variables from a session and register the details, i will then write this in to my php. The code needs to be written as procedure php and not oop and also needs to be well commented in case i need to make changes at a later date.