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    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 300 This week: 1All time: 7,302 This week: 274Up
Version License PHP version Categories
file-splitter 1.0.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: 3753454 in United States United States
Week rank: 261 Up25 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:300
This week:1
All time:7,302
This week:274Up

For more information send a message to info at phpclasses dot org.