close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

HELP - How to clear the URL PAR

Thread began 6/14/2011 4:20 pm by hbibizadeh396670 | Last modified 6/16/2011 10:32 am by hbibizadeh396670 | 1617 views | 6 replies

hbibizadeh396670

HELP - How to clear the URL PAR

I built a user registration system for my eCart.

However I have a small issue.

I am using a simple show if which allows me to show an error message if the username is already taken.


<?php if(isset($_GET['BadUserName']) && $_GET['BadUserName'] == "1") { ?>
<div id="RegFailDIV">UserName is Taken. Please Try Another.</div>
<div id="LoginFailDIV"></div>
<?php } ?>

The issue is cause by the fact that my form can fail for multiple reasons. For example captcha is wrong.

The issue arises when the username box displays, if a user re types the form with a available username, submits the form, if the form fails for a different reason, and returns to the page, the username box still appears, because the URL par has not been removed.

Could you tell me how to clear the URL PAR when the form is re-submitted.

Also,

I need to make my passwords encrypted.

Although I know how to do this and make it work with my login and registration pages. I do not know how to make email password work. This is because the email password would email the encrypted password in its default state.

Could you tell me how to do this.


Thank you.

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...