Reading and Writing to Files

  • Simon Stobart
  • Mike Vassileiou
Part of the Springer Professional Computing book series (SPC)


In this chapter we will examine how to read and write data to files. In physical terms a file is a sequential collection of characters which can be manipulated. In logical terms a file might be viewed as a collection of data records or a computer program. Many computer systems use files for storing information for later access. PHP has facilities to use and manipulate files.


Function Argument Type String Entire File Function Prototype File Pointer 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London 2004

Authors and Affiliations

  • Simon Stobart
    • 1
  • Mike Vassileiou
    • 2
  1. 1.School of Computing and TechnologyUniversity of SunderlandSunderlandUK
  2. 2.iNET4UGreece

Personalised recommendations