0)
			{
				header('HTTP/1.1 300 Multiple Choices');
				header('Location: '.$uri[0]);
				$choices = '';
				foreach ($uri as $href)
				{
					$choices .= '
'.$href.'';
				}
				exit('301 - Multiple Choices:
');
			}
		}
		else
		{
			$uri = $uri[0];
			if ($method == 'refresh')
			{
				header('Refresh: 0; url='.$uri);
			}
			else
			{
				$codes = array
				(
					'301' => 'Moved Permanently',
					'302' => 'Found',
					'303' => 'See Other',
					'304' => 'Not Modified',
					'305' => 'Use Proxy',
					'307' => 'Temporary Redirect'
				);
				$method = isset($codes[$method]) ? $method : '302';
				header('HTTP/1.1 '.$method.' '.$codes[$method]);
				header('Location: '.$uri);
			}
			exit(''.$method.' - '.$codes[$method].'
'.$uri.'
');
		}
	}
} // End url