University

  • image
  • image
  • image
  • image
  • image
  • image

The data submitted from a university application form, transformed to a DOCX, encrypted and shown with a watermark.

DOCX created from a university application form

A page is used to display the form to apply to a university. When the form is submitted, the data is stored in a database. The university wants to use phpdocx to create Word documents of the student's data from the database, so later the students will be able to change their data and the document is updated automatically. This documents will be watermarked and encrypted. A capture of the page is displayed below.

When submitted, the data is retrived from the database and added to the document with addText. One of the fields of the form is a WYSIWYG editor. Using embedHTML the HTML of the content in the WYSIWYG editor is also added to the DOCX.

With the method watermarkDocx a watermark is added.

Finally, the document is encrypted using encryptDOCX.