page redirecting , url changing i'm still getting error firefox.
error : page isn't redirecting firefox has detected server redirecting request address in way never complete.this problem can caused disabling or refusing accept cookies.
i have written code in route file of laravel 5
$test_login = "/test/"; if (preg_match($test_login,request::url())){ echo $actual_link = "http://$_server[http_host]/test/login"; header("location: ".$actual_link); die(); }else{ echo "false"; }
Comments
Post a Comment