Could you provide a description of what your code is intended to do?
For example, do each of the files contain the same number of lines, and you want to print the first line of each file, then the second line of each file, etc.?
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.