Password Field Snippets


30 March, 2013   

The characters in a password field are masked (shown as asterisks or circles).

18 February, 2013   

A C++ algorithm which encrypts an alphanumeric password.

09 February, 2013   

Very simple small code to generate random password

21 September, 2011   

Allows you to add a string to end or start of a field to use when comparing or selecting data. The second argument is added to the end of the first

Sometimes you need to generate passwords for customers automatically when a new account is created. This code allows you choose the desired length and strength for the password and it is very flexible.

An example of HTML form control where used-password input box

PHP code to create a human readable string that will look more close to dictionary words, useful for captchas.

30 April, 2016   

So better not to do, because the invisible fields are not needed for the binding form of validation of input data, etc.

12 January, 2014   

This is a pretty simple little snippet, but it help understanding how to use relational tables w/in PHP.

Example code to update or convert the field to UPPERCASE.

MySQL code to find all duplicates in a database column(s)n.

22 January, 2011   

The example here is if you had a form on a website that when submitted, needed to use that information to go to a special URL where the login information was all appeneded to the URL. You could have the form post with method GET, but that is limited to the typical ?variable=foo&variable2=bar format.

15 February, 2015   

Move field position while still retaining its content.

28 January, 2016   

MD5-based block cipher (MDC-like), which works in 128bit CFB mode.

14 September, 2013   

An example for MySQL Results To Array

29 December, 2012   

Example MySql code to append Data to Field in MySql

Mysql code example to SELECT based on a field that can have a NULL value.

07 April, 2013   

A simple example code for user login with a login form and database query

14 May, 2011   

This is a general code to use when deleting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. A variation of the code would be not to delete the record (as you tend to always need to restore or retrieve it sooner or later) you can add a 'status' field. If status='d' then it is...

05 July, 2012   

Backup MySQL Database to SQL File with mysqldump