php redirect page without header code example
Example 1: php header redirect
< ?php header("Location: http://www.redirect.to.url.com/"); ?>
Example 2: php header redirect same page
header("Location: " . "http://" . $_SERVER['HTTP_HOST'] . $location);