[URGENT] Automatic PDF exportation...

Author Message

Francis Poézévara

Monday 13 August 2007 12:25:30 am

Hello everybody,

Here is my problematic : I need to store all the articles which are N months old, before deleting them in my database. These deletions are made by a php script, executed thanks to CRON... The best solution for the storage would be (in my opinion) to store each article in a PDF before deleting them.

But is it possible to generate them automatically in a php script ?

Thank you !

Francis Poézévara

Monday 13 August 2007 2:01:02 am

Well, I found a way to do that, with FPDF (found with google), by selecting the data directly from the database... Less sexy, but... :D

Heath

Monday 13 August 2007 2:04:21 am

Thats neat, why not share your solution with the community as a contribution on ez.no?

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Francis Poézévara

Monday 13 August 2007 3:05:09 am

Hmm it really depends on the class of the site, so I can't really share this... Just see FPDF, it's really well explained :)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.