return false; } } } ?>/** * v. 1.0.0 [2020-11-08] * function: createID * * CREATES A RANDOMIZED ALPHANUMERIC CODE * INPUTS: * LENGTH * OUTPUTS: * EXAMPLE | NH6qHBkDOaRxy2CQGOSkXxZ62 * DEFAULT LENGTH 25 CHARACTERS */ if (!function_exists("createID")) { function createID($length = 25) { $base = 'ABCDEFGHKLMNOPQRSTWXYZabcdefghjkmnpqrstwxyz0123456789'; $max = strlen($base) - 1; $randID = ''; mt_srand(); while (strlen($randID) < $length) $randID .= $base[mt_rand(0, $max)]; $randID = str_shuffle($randID); return $randID; } } ?> * IN THE MYSQL FORMAT 2020-11-08 16:56:00 * */ if (!function_exists("cts")) { function cts() { $tz = new DateTimeZone('America/New_York'); $date = new DateTime(date('c')); $date->setTimeZone($tz); return $date->format('Y-m-d H:i:s'); } } ?>