1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HOW TO WRITE A PROGRAM application form data should be stored in pdf in database

Discussion in 'White Hat SEO' started by bewithme465, Aug 10, 2011.

  1. bewithme465

    bewithme465 Regular Member

    Joined:
    Aug 24, 2010
    Messages:
    455
    Likes Received:
    91
    Occupation:
    self employee
    Location:
    center of eath
    Hello members, plz help me on this

    How to write a program when a customer fills up the application form in the website and after submission. The data should be stored in data base in pdf file, and that file should be editable when we want do any corrections later,


    Plz help me out on this i hope so many members are there i am waiting for u r answers. Thanking you and sorry for my bad English
     
    Last edited: Aug 10, 2011
  2. Kennyz

    Kennyz Registered Member

    Joined:
    Jul 18, 2010
    Messages:
    50
    Likes Received:
    48
    Wow its very general question, there is a lot programing languages that can do the work.
    I suggest you to learn PHP and MySQL to make it work on server side with DB's..

    Or just pay some one on oDesk or Elance, its a 1-3 hours job
     
  3. bewithme465

    bewithme465 Regular Member

    Joined:
    Aug 24, 2010
    Messages:
    455
    Likes Received:
    91
    Occupation:
    self employee
    Location:
    center of eath
    i am asking the application form will be in pdf format in website
     
  4. NTG98

    NTG98 Junior Member

    Joined:
    May 27, 2009
    Messages:
    128
    Likes Received:
    12
    Occupation:
    Student
    Location:
    Texas
    Yeah that'll make it tougher for just about everyone who doesn't already know how to do it...

    Here's what I did- maybe this can be implemented on a server but idk: I made an html file containing my info, then I used the tool from TwoPilots, it's an html -> pdf converter that can be accessed via command line.

    If anyone can figure out how to store a pdf file in a database I'd like to hear that myself. If you're doing my method you could actually store the html contents in the mysql database and then, when accessed, run it through the TwoPilots program.
     
  5. Topher

    Topher Registered Member

    Joined:
    Aug 25, 2010
    Messages:
    74
    Likes Received:
    54
    Location:
    Atlanta
    You can store binary data in a database. I've done this with images. I wouldn't recommend it as it takes up too much space.

    As suggested above... Create an HTML form to collect the info. Store it in a database (mysql or ms sql). When a PDF file is requested, get the data from the db and create the pdf file for the user.

    Outline the requirements and post an Odesk job. Be as specific as possible.

    GL
     
    • Thanks Thanks x 1
  6. Arche

    Arche Newbie

    Joined:
    Apr 14, 2011
    Messages:
    23
    Likes Received:
    9
    I second Topher's comment. There's no good reason I can think of to create the pdf file initially and store it in the database. You're going to have even more trouble trying to update it. If you store the relevant information in the database, then you can update it as needed with a web form and generate a pdf on the fly when you need that.

    I think that change in operation would take it from an expensive pain to a reasonable task.

    If you're anticipating high loads where you don't want the processor overhead to keep generating pdfs to view, then you could generate a pdf file on update, store that as a file and store the link to the file in the database. Then when you update the data in the database you can create a new pdf with said information. You can store the pdfs in the database, but I believe that would be more overhead than you want if you're having these kinds of overhead issues. Just make sure to turn of robots/browsing/etc and make your pdf names complex enough that people can't guess and get at other peoples info (if that would be a problem)
     
  7. bewithme465

    bewithme465 Regular Member

    Joined:
    Aug 24, 2010
    Messages:
    455
    Likes Received:
    91
    Occupation:
    self employee
    Location:
    center of eath
    Brother can i get the command lines or any guidelines for more
    clarification

     
  8. bewithme465

    bewithme465 Regular Member

    Joined:
    Aug 24, 2010
    Messages:
    455
    Likes Received:
    91
    Occupation:
    self employee
    Location:
    center of eath
    Yeah even it is safer than the html forms already mostly immigration sites will be in pdf format only to and for more secure.

     
  9. flymethod

    flymethod Regular Member

    Joined:
    Oct 27, 2010
    Messages:
    214
    Likes Received:
    58
    Yeah we do this in our loan software application as a method to store contracts. That way we don't have to keep up with files on the server. When the contract needs to be printed it outputs the PDF and dynamically populated the fields from an FDF file.