$deadline) return true; else return false; } function sprint_url_parms($parms, $header) { $output = array(); foreach ($parms as $key => $value) $output[] = urlencode($key).'='.urlencode($value); return '?'.implode($header?'&':'&', $output); } function error_system($string) { echo($string); exit; } function htmlenc($string) { return htmlspecialchars($string, ENT_QUOTES, 'UTF-8'); } ?>