Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Registration flow/design question

Options
  • 05-08-2010 4:44pm
    #1
    Registered Users Posts: 8,070 ✭✭✭


    Hey Guys,
    I have a 3 step registration process.
    reg1.php
    reg2.php
    reg3.php

    firstly is there anyway i can mask this
    so people cant see the above however they wont be able to skip steps [see below]

    after reg1.php you get passed on to reg2.php
    however there is an ID assciated with this reg2.php=youremail@blahblah.com

    so if email doesnt exist, i can redirect to any other page but is this the best way ? should i be using sessions instead? security ?

    Whats the standard way ?

    Thanks


Comments

  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    Why do you need seperate files. You could have the steps passed as GET variables.

    Also you could mask what file is being used using Mod Rewrite on apache if you using it so /registration/step1 goes to registration.php?step=1, /registration/step2 goes to ?step=2 etc.


  • Registered Users Posts: 8,070 ✭✭✭Placebo


    thanks web monkey, i have separate files because registration effects users differently, some enter code in step 2, some have to be emailed the code etc

    also it makes it easier not to be hiding div's etc

    using get to pass values on to the next page?


  • Registered Users Posts: 981 ✭✭✭fasty


    If you're dead set on using separate pages, you should POST values, not GET them.


Advertisement