Jump to content

imaprogramur

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

imaprogramur's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=361120:date=Apr 3 2006, 02:28 AM:name=txmedic03)--][div class=\'quotetop\']QUOTE(txmedic03 @ Apr 3 2006, 02:28 AM) [snapback]361120[/snapback][/div][div class=\'quotemain\'][!--quotec--] Now for your question, here's my concept. I say go with the MySQL database and store the PDF files in the database when you call them have a page that sends the PDF content type header and the actual content of the PDF rather than generating the PDF from some source everytime the user tries to access it. You said you already have a code that generates PDFs a couple times a month so just change it to store the generated code in the database instead of writing files. I have to ask though, why are you specifically using PDF files? That last bit is just for my own personal curiosity. If I understand your goal better I may be able to provide more focused ideas and possibly some tips and tricks. [/quote] Well, we are printing pay stubs and would like to stop printing the pay stubs. Instead, I would like to have a PDF version of the same old pay stub (with the program we use, we just redirect the output from a printer to a PDF). So, I'd like to use PDF's because then the user can view, print, download, and we never have to store any of the sensistive information on the server in a database. Instead, it is just stored in static PDF files that hopefully is a little more secure. Thanks for the ideas so far!
  2. [!--quoteo(post=360474:date=Mar 31 2006, 04:45 PM:name=craygo)--][div class=\'quotetop\']QUOTE(craygo @ Mar 31 2006, 04:45 PM) [snapback]360474[/snapback][/div][div class=\'quotemain\'][!--quotec--] How many files per user will there be??? Have you created anything yet and if so what do you have so far?? Ray [/quote] There will somewhere between 20 and 30 PDF's fo revery user for every year, fomr the time that the system goes live... At this point, I only have a basic login script that uses session cookies. I am looking more for the conceptual setup using PHP, than for specific code examples. Thanks
  3. I am trying to write a new PHP-based system that will store and display individual PDF files for my users. I have an application that generates user-specific PDF files about twice a month. Each PDF file contains sensitive information that cannot be shared with other users, and should only be accessible to who ever is logged in. My first idea was to somehow create a system of folders and use htaccess files to protect each indivdual directory, but the setup may be an enormous undertaking (over 1000 users) if I am unable to script the setup. My next idea was to setup a database, and store the PDF's as binary within the database. I can then use a secure session to allow access to only that user's PDF files. I have never attempted something like this before and don't know if this would be very efficient when accessing the files via the DB. Does anyone have any other ideas or some psuedo-code or know of an open source app that does this already???? Thanks!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.