Zend Certified Engineer

phpguru.org

Free PHP, Javascript and C# code

File class

This class provides an API for common file routines. Method list:

  • readAll()
  • read()
  • write()
  • readChar()
  • writeChar()
  • readLine()
  • writeLine()
  • buildPath()
  • stripTrailingSeparators()
  • stripLeadingSeparators()
  • skipRoot()
  • getTempDir()
  • getTempFile()
  • isAbsolute()

This class is available here.

Link to me

If you use any of the code on this site (and if you don't I guess) or it makes your life easier, I'd appreciate a link - http://www.phpguru.org. Thanks!

Last modified: 14:34 16th February 2008