Return to Snippet

Revision: 5442
at March 9, 2008 09:33 by gbot


Initial Code
function redirect($url,$permanent = false)
{
	if($permanent)
	{
		header('HTTP/1.1 301 Moved Permanently');
	}
	header('Location: '.$url);
	exit();
}

Initial URL

                                

Initial Description

                                

Initial Title
php redirect function

Initial Tags
redirect

Initial Language
PHP