Fichero can open a file and read its lines into strings. The strings may be returned as is, trimmed, as an array of lines, or decoded using base64 algorithm.
The file lines are searched using regular expressions. It can also write back text to the file, optionally encoding it using the base 64 algorithm.
PHP 4.0 or higher