Welcome Guest, Not a member yet? Register   Sign In
passing a url in the url
#4

[eluser]jwright[/eluser]
I was able to solve my problem by url encoding the url twice and then passing it to the controller...

like this ...

http://localhost/myapp/index.php/controller/index/[url encoded twice]

then... CodeIgniter decodes it once automatically (this is why it wasn't working before)... then in your controller your parameter is in url encodeded form (once).


Messages In This Thread
passing a url in the url - by El Forum - 06-16-2008, 04:46 PM
passing a url in the url - by El Forum - 06-16-2008, 07:27 PM
passing a url in the url - by El Forum - 10-06-2008, 01:45 PM
passing a url in the url - by El Forum - 10-06-2008, 05:29 PM
passing a url in the url - by El Forum - 10-07-2008, 12:08 AM
passing a url in the url - by El Forum - 10-07-2008, 09:35 AM
passing a url in the url - by El Forum - 10-07-2008, 02:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB