View Full Version : PHP code for a membership registration details

08-06-2008, 09:44 AM
Hi there,

I am wanting to implement a feature on my website whereby people can regsiter as members with server side validation of the form and then the information to be saved to either a .txt or.xml file.

Basically the fields I'm wanting to capture are:
o First Name
o Second Name
o Age- check that it is a number only
o Gender (Radio Button)
o Email
o Address
o The actual years they were at University (Drop-down box) and the
year they graduated and the highest qualification obtained (eg 2001
Undergraduate Degree, 2002 Honours, 2003 Masters, 2004
o desired username
o desired password

Once they are registered members I'd like to provide a page for them where they can change their own details or cancel their membership which will automatically update the data file.

It would also be cool to have a search facilty whereby they could search for other members on criteria such as name, graduation year, city etc. with search results listing name, second name and email address.

Could anyone point me in the right direction to any similar code they know of somewhere which i could adapt for my own use?

Thanks in advance

08-06-2008, 03:28 PM
You're wanting a database engine. Does your server already have one, e.g. MySQL? If not, your host probably wants you to buy it, partly because of the extra load it puts on the server. In that case, they will probably ban you for using a makeshift engine.