[eluser]crimsun[/eluser]
Hello Team the redirect function which is declared in url_helper by default that giving me some problem
when i print $uri its added symbol ? in that please check that
if ( ! function_exists('redirect'))
{
function redirect($uri = '', $method = 'location', $http_response_code = 302)
{
echo $uri;
if ( ! preg_match('#^https?://#i', $uri))
{
$uri = site_url($uri);
}
echo $uri;exit;
switch($method)
{
case 'refresh' : header("Refresh:0;url=".$uri);
break;
default : header("Location: ".$uri, TRUE, $http_response_code);
break;
}
exit;
}
}
Is this because of htaccess problem so please help me suggest me solution