/    Sign up×
Community /Pin to ProfileBookmark

Coding help needed

I need to make a number of lengthy documents avaialble to people via my site. I would like to be able to have them be able to simply click on a “download” button or have a pdf file version open for them. What coding do I need to use to make this possible?

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@soccer362001Feb 11.2005 — If you want to download zip up the files and use <a href="files.zip">Download</a>

If you want to open a pdf use <a href="file.pdf">Open PDF</a>
Copy linkTweet thisAlerts:
@ray326Feb 12.2005 — I'm not sure of what your real request is but it sounds like "how do I convert some documents to PDF?" If that's the case I'd recommend one of two free options. OpenOffice can directly export its documents in PDF and works almost perfectly with MS Office documents. You can also use PDFCreator to create PDFs from any application. It acts as a printer driver so you just install it, fire up your app and File/Print to the "PDF Creator" printer.

http://openoffice.org/

http://sourceforge.net/projects/pdfcreator/
Copy linkTweet thisAlerts:
@Stephen_PhilbinFeb 12.2005 — Maybe a perfect excuse for the combination of php mysql and xml?

Store xml in a database that can be retrieved and converted by php? Minimal storage, maximum speed, maximum effect? I mean you could store one lot of data and knock it out as XML, HTML, XHTML, text, PDF, spreadsheet, just about anything really.

Isn't that the real core purpose of XML?
×

Success!

Help @pdgpj spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...