Welcome Guest, Not a member yet? Register   Sign In
anchor for file in WRITEPATH
#5

a simple html download link is :
Code:
<a href="/path/image.jpg" download> text </a>
So your task is to use controller to get file details. Personally i make uploads to directory inside public , that makes it easier to get path

Then think of how to express the code in the code box in a view. try it in basic html5 ; when the text is clicked on the file downloads.
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply


Messages In This Thread
anchor for file in WRITEPATH - by pippuccio76 - 09-16-2022, 12:51 PM
RE: anchor for file in WRITEPATH - by InsiteFX - 09-17-2022, 12:32 AM
RE: anchor for file in WRITEPATH - by pippuccio76 - 09-17-2022, 02:18 AM
RE: anchor for file in WRITEPATH - by captain-sensible - 09-17-2022, 12:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB