public static function serializer($get = array(), $security = false) { if (is_array($get)) { $d = ""; foreach ($get as $key => $value) { if ($security) { $key = security::render($key); $value = security::render($value); } $d .= "{$key}={$value}&"; } $d = rtrim($d, "&"); return $d; } else { return false; } }