Hello,
I would like to add a page which let the user to creating their own username and password.
The example procedure may be the following:
1. The admin give the user a register code. 2. The user open the register page and fill the register code and choose their own username,password then submit to system. 3. The system verify the register code with internal DB (may be regcode.xml) and add new account into config.xml including some infomation if the register code is valid. 4. The user login to Captive Portal as usual to use the internet.
So, I need to add a page to system (php) but how can I use my own regcode.xml and config.xml to add new account? Is there any pre-defined function to use or I have to write to it directly?
Thank you very much.
|