Welcome Guest, Not a member yet? Register   Sign In
Passing a full url in the uri
#1

[eluser]bgougent[/eluser]
Is it possible to pass a full url as parameter in CI without setting
Code:
$config['enable_query_strings'] = TRUE;
.

So the idea will be:
Code:
login/http://www.site.com/pagemore
where
Code:
http://www.site.com/pagemore
is de reference page.

I have already thought about session en the referrer. But I need to use also this login from site that will not use CI.
#2

[eluser]xwero[/eluser]
You could replace the forward slashes with something else to prevent CI from seeing the url as segments.
#3

[eluser]Phil Sturgeon[/eluser]
url_encode() could do the trick, but you'd need to all some extra characters in your URL's.

For login redirection I prefer to use sessions, that would be one way to avoid this issue.




Theme © iAndrew 2016 - Forum software by © MyBB