PHP Classes
elePHPant
Icontem

PHP text file splitter: Split a file in multiple with limited lines

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-06-08 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 268 All time: 7,238 This week: 510Up
Version License PHP version Categories
file-splitter 1.0BSD License5.0Files and Folders
Description Author

This class can be used to Split a file into multiple files with a limited number of lines.

It reads a file and counts its lines. If the file has more than a given limit of lines, the class generates multiple files, each with no more than the limit of lines.

The split files have a different file name prefix that is configurable.

Picture of Chang Xiao
Name: Chang Xiao <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 3651432 in United States United States
Week rank: 1325 Up129 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file split_file.class.php Class class file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:268
This week:0
All time:7,238
This week:510Up