static function RedirectRelative($target, $noExit = false)
    {
        session_write_close();
        $dirName =  dirname($_SERVER["PHP_SELF"]);
        if ($dirName == "/")
            $dirName = "";
        header("Location: " .  "http://" . $_SERVER["HTTP_HOST"]
            . $dirName
            . "/" .  $target);
        if (!$noExit)
        {
            exit();
        }
    }
static function RedirectRelative($target, $noExit = false)
    {
        session_write_close();
        $dirName =  dirname($_SERVER["PHP_SELF"]);
        if ($dirName == "/")
            $dirName = "";
        header("Location: " .  "http://" . $_SERVER["HTTP_HOST"]
            . $dirName
            . "/" .  $target);
        if (!$noExit)
        {
            exit();
        }
    }
static function RedirectRelative ( $ target , $ noExit = false ) { session_write_close ( ) ; $ dirName = dirname ( $ _SERVER [ "PHP_SELF" ] ) ; if ( $ dirName == "/" ) $ dirName = "" ; header ( "Location: " . "http://" . $ _SERVER [ "HTTP_HOST" ] . $ dirName . "/" . $ target ) ; if ( ! $ noExit ) { exit ( ) ; } }
Redirects to a target whose path is relatively to the currently running php script
@param string $target The redirect target
@deprecated since version 2.0.0 This function is not reliable
Redirects to a target whose path is relatively to the currently running php script