December 2004
Intermediate to advanced
840 pages
18h 11m
English
PHP, like many programming languages, boasts a wide range of functions that allow the developer to access the file system. In this chapter you'll find everything you'll need to work with the file system, including reading and writing text or binary files, working with PHP's fopen() URL wrappers, manipulating directories, and the Unix file permission system.
As seems to be the case with almost every aspect of PHP, there is incredible native support for working with files from within PHP. I'll be starting off this chapter with a discussion of the basics, including reading and writing text files, followed ...
Read now
Unlock full access