Hi there!
Usually, when I want to read a file (everything inside of it) I do this:
$read = fread($x, file_size($y));
And when I want to get just one line I use this:
$line = file($file); //get the line from this
Everything is fine...But looking on the internet, it's easy to find people using, for how many characters to read, numbers like 1024 and 4096...So I've found those numbers a lot of times, then, I suppose that it means something, but dont know what! LOL
Is there a max number of characters that a line inside a TXT file accepts?
What I'm getting from a file with "1024" and "4096"?
Thanx in advance!
Felipe Lopes