Linux Today: Linux News On Internet Time.

More on LinuxToday

developerWorks: The Right Way to Read Files with PHP

Feb 16, 2007, 07:00 (0 Talkback[s])

[ Thanks to An Anonymous Reader for this link. ]

"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. But with the plethora of options available, what's the best tool for the job? Of course, the real answer depends on your goal when parsing the file, so it's worth the time to explore all your options.

"The fopen methods are probably the most familiar to old-time C and C++ programmers because they're more or less the tools you've had under your belt for years if you've worked with these languages..."

Complete Story

Related Stories: