PHP

Redirection in PHP without using header

You can redirect page without using Header. See below code,


if ($success)
{
 echo '<META HTTP-EQUIV="Refresh" Content="0; URL=success.php">';
 exit;
}
else
{
 echo '<META HTTP-EQUIV="Refresh" Content="0; URL=retry.php">';
 exit;
}

Comment here