phpMoot
phpMoot > PHP - Examples > PHP – Read Entire gz-file into an Array
Author: phpMoot January 9, 2013 0 Comments
PHP - Examples
This function is identical to readgzfile(), except that it returns the file in an array. Code Example:
<?php $lines = gzfile('file.gz'); foreach ($lines as $line) { echo $line; } ?>
← Previous post
Next post →
Your email address will not be published. Required fields are marked *