$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'); } ?>