# RootPrompt.org   Nothing but Unix.[Home] [Features] [Programming] [Mac OS X] [Search]


 The right way to read files with PHP

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.

 (Submitted by Anonymous Fri Feb 16, 2007 )

  


Our content can be syndicated: Main page Mac Page

Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author