0
PHP User Registration Help Needed
New Here
,
/t5/dreamweaver-discussions/php-user-registration-help-needed/td-p/823441
May 28, 2006
May 28, 2006
Copy link to clipboard
Copied
Hello,
I have a page user_registration.php that I've created in DW8 that has a web form prompting the user to create their profile to gain access to the site. The web form fields are user name, password, email address, and registration type.
The registration type is a list/menu that has 3 options. Based on the option chosen, I need the user's login credentials submitted to the MySQL database and for the user to be taken to the corresponding URL (ie. regpage1.php, regpage2.php or regpage3.php).
I'm a newbie to DW8 and PHP and need some assistance on how to accomplish this. Thanks, in advance, for your help.
I have a page user_registration.php that I've created in DW8 that has a web form prompting the user to create their profile to gain access to the site. The web form fields are user name, password, email address, and registration type.
The registration type is a list/menu that has 3 options. Based on the option chosen, I need the user's login credentials submitted to the MySQL database and for the user to be taken to the corresponding URL (ie. regpage1.php, regpage2.php or regpage3.php).
I'm a newbie to DW8 and PHP and need some assistance on how to accomplish this. Thanks, in advance, for your help.
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/dreamweaver-discussions/php-user-registration-help-needed/m-p/823442#M151873
May 28, 2006
May 28, 2006
Copy link to clipboard
Copied
Sid Childers wrote:
> The registration type is a list/menu that has 3 options. Based on the option
> chosen, I need the user's login credentials submitted to the MySQL database and
> for the user to be taken to the corresponding URL (ie. regpage1.php,
> regpage2.php or regpage3.php).
Use the Log In User server behavior. Set "If login succeeds, go to" to
the page that requires the higher login credentials. Set "Restrict
access based on" to "Username, password, and access level".
On the page that requires the higher credentials, set "If access denied,
go to" to the page that requires the lower credentials.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
> The registration type is a list/menu that has 3 options. Based on the option
> chosen, I need the user's login credentials submitted to the MySQL database and
> for the user to be taken to the corresponding URL (ie. regpage1.php,
> regpage2.php or regpage3.php).
Use the Log In User server behavior. Set "If login succeeds, go to" to
the page that requires the higher login credentials. Set "Restrict
access based on" to "Username, password, and access level".
On the page that requires the higher credentials, set "If access denied,
go to" to the page that requires the lower credentials.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Sid_Childers
AUTHOR
New Here
,
LATEST
/t5/dreamweaver-discussions/php-user-registration-help-needed/m-p/823443#M151875
May 29, 2006
May 29, 2006
Copy link to clipboard
Copied
quote:
Use the Log In User server behavior. Set "If login succeeds, go to" to
Good Morning,
A follow up question related to the Log In User server behavior: Since I have 3 different registration types for which I user could register, would I create 3 separate Log In User server behaviors pointing to each of the 3 registration pages?
This is the parameter I used when identifiying which registration page the sales reps are to go.
salesrep_registration.php?<?php echo $row_Recordset1['UserGroup']; ?>=salesrep
Is this the correct approach? Thanks much for your help.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

