Results 1 to 2 of 2

Thread: PHP code for a membership registration details

  1. #1
    Join Date
    Aug 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP code for a membership registration details

    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 –
    PhD)
    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

  2. #2
    Join Date
    Jul 2006
    Posts
    497
    Thanks
    8
    Thanked 70 Times in 70 Posts

    Default

    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.
    -- Chris
    informal JavaScript student of Douglas Crockford
    I like wikis - a lot.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •