![]() |
passing a path in the url as argument - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: passing a path in the url as argument (/showthread.php?tid=39886) |
passing a path in the url as argument - El Forum - 03-23-2011 [eluser]newtonianb[/eluser] How can I pass a path to a file using the URI assoc $data = $CI->uri->uri_to_assoc(3, null); http://localhost/index.php/home/index/fileargument/\\shared\path\to\my\file.xml that does not workout all the backslash get converted to forward slash to then it only captures the first portion "shared" gets saved in my variable. I checked my config.php file and backlash seems to be allowed ... passing a path in the url as argument - El Forum - 03-24-2011 [eluser]wh1tel1te[/eluser] You could encode the path to base64, which will pass nicely into the URI, then in your filearguement method decode it back to the path. |