function redirect($url) {
if ( !preg_match("/^http:\/\//i", $url) )
if ( preg_match("/^\//i", $url) )
$url = "http://".getenv('HTTP_HOST').$url;
header("Location: $url");
}
if ( !preg_match("/^http:\/\//i", $url) )
if ( preg_match("/^\//i", $url) )
$url = "http://".getenv('HTTP_HOST').$url;
header("Location: $url");
}
header("Location:http://www.990.net");