Sending file path to controller |
[eluser]Loque[/eluser]
Hi all, I have done some searching (probably not looking up the right terms) and i really cant find any information on sending filenames, or varialbes containing '/' to controllers. At the moment I would like to use the force download function, and have an individual controller to handle this, so something super basic like; Code: function download($s_name,$s_file) and say my link to this would be something like; www.theSite.com/controllerName/download/filename.jpg/file/path/here/is/never/going/to/work/filename.jpg I cant think of a way of getting around this other than stripping the slashes and then putting them back in, and that just feels wrong - someone please slap with common sense and help me if you have a mo! Cheers, Loque |
Messages In This Thread |
Sending file path to controller - by El Forum - 06-03-2008, 05:20 PM
Sending file path to controller - by El Forum - 06-03-2008, 05:26 PM
Sending file path to controller - by El Forum - 06-03-2008, 05:33 PM
Sending file path to controller - by El Forum - 06-03-2008, 05:39 PM
Sending file path to controller - by El Forum - 06-03-2008, 05:41 PM
Sending file path to controller - by El Forum - 06-03-2008, 05:44 PM
Sending file path to controller - by El Forum - 06-03-2008, 05:46 PM
|