We need a PHP function that can modify a PDF by writing inside some text and/or images.
1) the function will have this parameters:
* file name (the path of the pdf that must me edited)
* destination name (the path of the edited/new pdf file created)
* an array of cooridinates and additional info (x1-y1,x2-y2,page,type,option,text/image)
- x1-y1,x2-y2: coords of the area to edit
- page: the number of the page that will be edited at the x1-y1,x2-y2 coordinates
- type: can be "image" or "text".
- option: can be "only the current page", "all pages", "current page and above"
- text/image: is the text (or the image) to write on the flash
2) process all the data in the coords array and build the new pdf