$url_relative="index.php"; header ("location: http://".$HTTP_SERVER_VARS['HTTP_HOST'].str_replace("//","/",dirname($HTTP_SERVER_VARS['PHP_SELF']))."/".$url_relative); ?>