Revealing The Password Snippets

18 February, 2013   

A C++ algorithm which encrypts an alphanumeric password.

30 March, 2013   

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

09 February, 2013   

Very simple small code to generate random password

Many applications, such as CuteFTP and Outlook Express, allows you to enter a password and use it when it is needed. However, if you forget your password, you cannot see it, because it's hidden behind asterisks ('****') characters. The following code snippet scans all windows on the screen and reveals the passwords behind the asterisks...

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.

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.

28 January, 2016   

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

02 February, 2011   

The set height and width ensure only a portion of the sprite.png graphic is shown. The rollover shifts the position of the background image, revealing a different area of the graphic.

07 April, 2013   

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

05 July, 2012   

Backup MySQL Database to SQL File with mysqldump

Basic Database Connection, Random Query, Display Result

Exam code to backup MySQL Database to SQL File

07 April, 2014   

Adding a linked server to MSSQL account - particularly a MYSQL server

The below snippet will create a MySQL user and grant them all permissions on the given database.

How to serve configuration settings from a config.ini file

Code example for Connecting to Oracle using Java JDBC

This code is useful for multi environment setups (staging, production, etc.) it allows you to keep your htaccess files in sync while maintaining an htpasswd on your development environment or anything but the live environment.

13 April, 2011   

Connecting to a MySQL database to make the data from the database available in your Web application, can be done in many different ways. Here are two often used methods.