Seperation of the login and registration pages

3 views
Skip to first unread message

Shane

unread,
Apr 14, 2009, 6:45:57 AM4/14/09
to phpShop
Hello

I've been trying to seperate the login and registration pages on and
off for the last couple of days with no luck.
I thought it would be easy enough at first and simply split them and
put a link to the reg page from the login page.
I got this working quickly but the $vars array page values on the
login page are important because it takes you back to the checkout if
you've just come from there. This value has to be passed onto the new
registration page as if it were the login page so I used a form
(instead of the link) to jump from the login page to the reg page and
take hidden field values with it. Unfortunately even though the
address looks correct in the address bar, it actually goes back to the
last page instead of the intended new registration page.

The $vars[page] item on the login page seems to be the destination for
any submit button but I can't seem to change it.

Has anyone else done this sucessfully.

regards

Shane


Reply all
Reply to author
Forward
0 new messages