close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Email / Form authentication

Thread began 1/07/2010 1:29 pm by Alan Shaw | Last modified 1/08/2010 1:06 pm by Alan Shaw | 1210 views | 3 replies

Jason ByrnesWebAssist

you would need a database for this.

create a table in the database as follows:
emailID - primary Key
emailAddress - test: This will store the email address
randomString - text: this will store a random string
emailEncrypted - text: This will store an encrypted copy of the email address
verified: int: default value 0: this will be used to verify the email address.

when they fill out the form, store the email address, a random string and the encrypted email address in the database. The default value for the verified column should be set to 0 so any new record created will automatically be set to not verified.

Security Assist has a random password generator that can be used for the random string and SHA1 encryption that can be used to encrypt the email address.

In the email, you will send a link to a verification page, send the random string and the encrypted email as part of this link in querystring variables:
verify.php?rand=<Random String>&em=<encrypted email address>

On the verify.php page, create a recordset that will be used to look up the corect record based on the "rand" and "em" variables to find the value in the emailID column, then use the update record behavior to update the verified column for that record.

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





Ease of use


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