Jump to content

Archived

This topic is now archived and is closed to further replies.

scs

reading file

Recommended Posts

Im trying to read a file line by line. I found this premade function and it didnt work. There are functions for read a file different ways. just not line by line. Does any one know a simple way I can do this?

thanx  ;D
zach

Share this post


Link to post
Share on other sites
use the file function (http://www.php.net/file).

It reads the file into an array, which you can then parse line by line.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.