February 16, 2007
The right way to read files with PHP
Anonymous Reader writes "One of the joys of dealing with modern programming languages like PHP is the amount of options available. PHP could easily steal the Perl motto, "There's more than one way to do it," especially when it comes to file processing. Learn how to use the different file functions of PHP. Review basic file functions, such as fopen, fclose, and feof; learn reading functions, such as fgets, fgetss, and fscanf. And discover functions that process entire files in one or two lines of code."