Improve previously developed program
Create a CACHE for PDF Images
maintain Mysql database to manage PDF images.
When [url removed, login to view] is called it will create the PDF for the file number.
This should record to mysql the <ID> and the link to .pdf
when the same file is called a second time the user is automatically given the file without any conversion.
I need a cron job to clean up the /tmp/*.jpg files
Also need a second script [url removed, login to view] that will remove all the pdf files in the cache from mysql and also the server. when run It will ask the user yes or no to clear cached pdf files.