URL to file
Permalink
I'm trying to get the full path to a selected file. So far I learned how to get the relative path by digging through other blocks, but haven't learned how to get the full path. ie: I needhttp://www.a.com/index.php/...)
There's something I'm missing. I'm still learning the OO side of PHP in my spare time, but I haven't progressed very far! Thanks for any help!
View::url('/download_file', $fID);
There's something I'm missing. I'm still learning the OO side of PHP in my spare time, but I haven't progressed very far! Thanks for any help!
The $path variable should now have the full path to the file.
Check out the documentation at:
http://docs.concrete5addons.com/...