Re: [PHP-WIN] opening pdf documents within php

2001-08-17 Thread Alain Samoun
It seems that you have two problems: If you want to have a regular HTML link to your pdf file, you need to write the link as: print "$pdf[$i]"; This should open Acrobat and download your pdf file if the browser has been configured for. Second, if you want PHP to download the file, you need to send

[PHP-WIN] opening pdf documents within php

2001-08-16 Thread Andrew.Martin
I'm creating a Content Management system in which the user will have to attach a pdf document to an article. This is no problem, I copy the document to a specific pdf folder and store the document name in the DB to use on the front end. On the front end I loop through all documents that are onlin