James Huckabone
James Huckabone

Reputation: 625

PHP - PDF generator library with set expire function

Does anyone know of a PHP PDF library (like FPDF) that has a function to set an expiry date on the generated file? I am selling subscriptions to an online service that has a download as PDF component. I would like to semi-secure the PDFs by having them expire after the subscription period.

Upvotes: 0

Views: 552

Answers (2)

user1914292
user1914292

Reputation: 1556

Actually - PDF supports JavaScript embedding, so maybe there's something like an annoying popup you could display whenever the time is right.

Link to Adobe site: Adobe JavaScript embedding

Upvotes: 2

mark stephens
mark stephens

Reputation: 3184

There are servies which essentially add this as a wrapper around a PDF but nothing in the actual spec.

Upvotes: 0

Related Questions