close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

login page with optional register as private or company

Thread began 2/13/2010 8:44 pm by ssemere321379 | Last modified 2/16/2010 2:30 pm by Dani Chankhour | 591 views | 1 replies |

ssemere321379

login page with optional register as private or company

I have generated a login page with Security Assist. But the login page I wanted is not the same as the automatically generated one. My login page should have the following optional code in addition to the code generated by Security Assist. This optional is in case the customer is not registered.


<h2> Register new customer</h2>
<form name="loginForm" method="post" action="">
<ul class="clean">
<li>
<input type="radio" class="customer_private" id="customer_private"
name="customer_private" >
<label for="customer_private">Private Customer</label>
</li>
<li>
<input type="radio" class="customer_private" id="customer_private"
name="customer_private" >
<label for="customer_private">Private Customer</label>
</li>
</ul>
<input class="submit" value="Registrera" type="submit">
</form>


Now I have a user_registration.php generated by Security Assist.
I can use that to make
user_registration_private.php and
user_registration_company.php.

My question is what code do I need to add so that a customer who is private is directed to user_registration_private.php and a customer who chooses company is directed to user_registration_company.php.

Sign in to reply to this post

Dani Chankhour

The code that you need to use is this:

<?php header('Location: user_registration_private.php'); ?>
<?php header('Location: user_registration_company.php'); ?>

I'm not sure when you want the redirect to happen, if you could give more detail about that i could help you in getting the redirect to work.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...