Forums / General / [URGENT] Automatic PDF exportation...

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

[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

7x | https://se7enx.com/
Brookins Consulting | https://brookinsconsulting.com/
Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350
Solutions | https://projects.exponential.earth/users/community/brookins-consulting
eZpedia community documentation project | http://ezpedia.se7enx.com

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 :)