LWN.net Logo

Working with Files in PHP, Part Two (O'Reilly)

John Coggeshall continues his series on working with files in PHP on O'Reilly. "Last time I introduced you to the basic file access methods available to PHP: fopen(), fputs(), and fgets(). Although very useful, these functions work only with strings. This week I'll introduce to you more advanced file access functions that read and write binary files. We'll talk about fread() (used for reading), fseek() (used to find specific parts of a given file), along with a few other useful file access functions."
(Log in to post comments)

Copyright © 2002, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds