Current location: Hot Scripts Forums » Programming Languages » PHP » Help requested for problems with multiple registration pages


Help requested for problems with multiple registration pages

Reply
  #1 (permalink)  
Old 11-18-03, 04:21 PM
pfm.smits pfm.smits is offline
New Member
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Help requested for problems with multiple registration pages

I try to create a registration process that spans over multiple pages.

In page-1 I have in the first section:
if ($submit == "Opslaan")
{
include ("page-2.php");
exit;
}

When I press the submit-button on page-1 I get redirected to page-2 (with all the values passed through.

In page-2 I have a similar kind of proces to get redirected to page-3. However, I do not get redirected to page-3, but instead I get redirected to a new page-1.

Can you help me to solve this problem?

Regards,

Pierre
Reply With Quote
  #2 (permalink)  
Old 11-19-03, 11:01 AM
YourPHPPro's Avatar
YourPHPPro YourPHPPro is offline
Community VIP
 
Join Date: Aug 2003
Posts: 430
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by pfm.smits
I try to create a registration process that spans over multiple pages.
This might be late, but could you post the code for page 1-3 ?
Reply With Quote
  #3 (permalink)  
Old 11-19-03, 05:14 PM
pfm.smits pfm.smits is offline
New Member
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by YourPHPPro
This might be late, but could you post the code for page 1-3 ?
In page 1 I have:
<?php
if ($submit == "Opslaan")
{
... some code

include ("reg-2.php");
exit;
}
?>
... some html for filling out the form
<input type="submit" name="submit" value="Opslaan">



In page 2 I have:
<?php
if ($submit == "submit")
{
... some functions
include ("reg-3.php");
exit;
}
?>

...return of fields for checking

<input type="submit" name="submit" value="submit">

In page 3 I have:

<?php
if ($submit == "submit")
{
... some functions
include ("reg-4.php");
exit;
}
?>

some html for confirmation (checkboxes, etc)
<input type="submit" name="submit" value="submit">


As such the programming has been straightforward. On page 1 I request the user to fill out the form. On page 2 I return the form in read mode so that the user can check the form as he/she has filled it out. On page 3 I request the user to accept or reject our terms of service. And page 4 will be the fine page that will be shown when the user has been registered in the database correctly. Page for includes a link to go to the password protected site (it will include an authentication set up).

Regards,

Pierre
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 05:51 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.