Basic functions used to assist in the operation of PHP scripts