Uncategorized

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 »

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