Lines:
101 to 130 of 130
} $rt = isset($_GET['rt']) ? $_GET['rt'] : 5; $r = isset($_GET['r']) ? $_GET['r'] : 0; if ( $r < $rt ) { $code = isset($_GET['code']) ? (int)$_GET['code'] : 302; header("Location: $url?rt=" . $rt . "&r=" . ($r+1), true, $code); echo "Redirect $r of $rt"; exit; } echo "Redirect $r of $rt is FINAL.<br/>"; echo "GET['rt'] = Total times to redirect. Defaults to 5.<br />"; echo "GET['r'] = Current redirection. Defaults to 0.<br />"; echo "<a href='$url?source=true'>View Source</a>";