passing an encoded url .. |
[eluser]/larry[/eluser]
I have a controller called filter that basically sets up a redirect to another controller called filterlist. It encodes a url as one of it's arguments. filterlist is then set up to do pagination: filter does this: $val = urlencode($filter_val); redirect("/widget/filterlist/$val/$fld"); the resulting url then looks like this: http://my.local/widget-admin-codeigniter...l_addr_url What I get is this error: The requested URL /widget-admin-codeigniter/index.php/widget/filterlist/http://ajaxian.com/index.xml/xml_addr_url was not found on this server I saw that I can set up Codeigniter to use parameters instead of the usual url scheme it uses, but it appears I can't do it both ways, and I think doing that will change the browser caches the pages as well, so I'm not sure that's a good approach. I guess you can't mix the two ? Otherwise I would try maybe: widget/filterlist/$fld/?val=$val The way around it seems to be to use a session, which is not ideal, but the site is an admin interface and won't get any real traffic. Any ideas appreciated ... |
Messages In This Thread |
passing an encoded url .. - by El Forum - 06-04-2008, 08:25 AM
passing an encoded url .. - by El Forum - 06-04-2008, 09:13 AM
passing an encoded url .. - by El Forum - 06-04-2008, 01:04 PM
passing an encoded url .. - by El Forum - 06-04-2008, 01:14 PM
passing an encoded url .. - by El Forum - 06-04-2008, 02:29 PM
passing an encoded url .. - by El Forum - 06-04-2008, 02:45 PM
passing an encoded url .. - by El Forum - 06-04-2008, 02:50 PM
passing an encoded url .. - by El Forum - 06-04-2008, 02:53 PM
passing an encoded url .. - by El Forum - 06-04-2008, 03:07 PM
passing an encoded url .. - by El Forum - 06-04-2008, 03:11 PM
passing an encoded url .. - by El Forum - 06-04-2008, 03:17 PM
passing an encoded url .. - by El Forum - 06-04-2008, 03:20 PM
passing an encoded url .. - by El Forum - 06-04-2008, 03:22 PM
passing an encoded url .. - by El Forum - 06-04-2008, 03:27 PM
|