PHP be used to read text and generate files in various formats such as PDF and XML. Using the file manipulation functions, files and documents can be uploaded and stored on the server. The uploaded documents can be accessed and manipulated through PHP code. PHP can be used to access flat files and perform basic file and directory maintenance tasks thereby enabling files/documents to be edited remotely.