PHP is a very useful language for working with files. Although it may not be as robust as other languages, such as PERL, when it comes to parsing files, PHP still provides great power and flexibility when it comes to working with text files.
This chapter covers reading from, manipulating, and writing to text files. You can use the features covered in this chapter to create applications that can read in text from a file (locally or over the Internet using HTTP or FTP), then use the data gathered in a manner more suited to your needs.
Top |