Welcome Guest, Not a member yet? Register   Sign In
Overriding the disallowed characters error
#2

[eluser]Mirage[/eluser]
From the top of my head this might work:

Code:
$new_uri=preg_replace('|[^/'.$this->config->item('permitted_uri_chars').']|', '', $str);
header: "Location: {$str}"; exit();

Cheers,
-m


Messages In This Thread
Overriding the disallowed characters error - by El Forum - 09-10-2008, 04:16 AM
Overriding the disallowed characters error - by El Forum - 09-10-2008, 07:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB