Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 247 This week: 1All time: 6,991 This week: 1,319Up
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: 3530423 in United States United States
Week rank: 1043 Up101 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:247All time:6,991
 This week:1This week:1,319Up