Welcome Guest, Not a member yet? Register   Sign In
URL in CodeIgniter's application URL?
#1

[eluser]dandys997[/eluser]
Hi,
topic may be misleading, so I'll try to explain it. I need to handle URL's as controller's method parameter. For example, I've got:

Code:
class Test extends CI_Controller
{
function redirect($url)
{
redirect(urldecode($url));
}
}

I'm processing $url variable with urlencode() before inserting to the link. But when I try to use that method, I get an error: 404, which is different to CodeIgniter 404 error message.

What can I do to reach the aim? Thanks in advance for help.




Theme © iAndrew 2016 - Forum software by © MyBB