currently i am working on zf2. Right now i have to give download option to download pdf files.i have stored all the pdf files in data
directory.How can i specify link to that pdf files from .phtml file?
thanks in advance.
I would create a symbolic link in public directory for PDF files in data folder.
For example:
ln -s /your/project/data/pdfdir /your/project/public/pdf
and create links something like
<a href="/pdf/file.pdf">File.pdf</a>