Henry Ong

Read data from SQL when a field changes value and post the value in another field

Create a JQuery script that detects whether the Formidable Form field is changed or initiated. Write a PHP script to accept the field value from the form and used the value to retreive data from a table. Calculations can be performed in the PHP script if needed. Encode the result in Json and return the …

Read data from SQL when a field changes value and post the value in another field Read More »

Cryptarithm

Cryptarithm, also known as an alphametic or verbal arithmetic, is a type of mathematical puzzle where letters or symbols are used to represent digits. The goal of a cryptarithm is to decipher the correct assignment of digits to these letters or symbols in order to form a valid mathematical equation. In a cryptarithm, each letter …

Cryptarithm Read More »

Add new whitelist IP using SSH

Login to the console using Putty. Type this at command line after login: nano /etc/hosts.allow Add the new IP in the existing list of IPs separated by a comma Save the file by pressing Ctrl X Confirm saving by typing ‘Y’ and save the file by pressing Ctrl X and then y and press enter