Welcome Guest, Not a member yet? Register   Sign In
[Q] CI function argument as a FILE path

Hi, I have a file path that I want to pass to cogeigniter from my ajax app

the file path is

In my ajax I invoke codeigniter as

dojo.create("iframe", {id:"idDLFrame",src: href , style: "display: none"},  

where href is http://localhost/codeigniter/index.php/f.../i/xyz.xls

downloadFile is the method of my filemgr codeigniter controller

what I need is essentially get the 'filename' /tmp/otrq/i/xyz.xls
from within the downloadFile( ) function

so how can I do that?

thank you

[eluser]Eric Barnes[/eluser]
Probably need to take a look at the URI class: http://ellislab.com/codeigniter/user-gui...s/uri.html

Theme © iAndrew 2016 - Forum software by © MyBB