Cytat(Szakal @ 2004-08-12 14:06:05)
Cytat(sf @ 2004-08-11 23:57:02)
Cytat
Note: The length parameter became optional in php 4.2.0, if omitted, it would assume 1024 as the line length. As of php 4.3, omitting length will keep reading from the stream until it reaches the end of the line. If the majority of the lines in the file are all larger than 8KB, it is more resource efficient for your script to specify the maximum line length.
Wiele mi to niemówi :/
Parametr długości od php 4.2.0 jest(stał się - jak kto woli

) optymalny(czytaj nie musisz go podawać!), jeśli go pominiemy będzie miał wartość 1024. Od php 4.3 jeżeli pominiemy parametr, php będzie czytało przekaz dopóki nie wyciągnie końca lini(wszyscy wiemy oco chodzi

)
to mnie ciekawi: If the majority of the lines in the file are all larger than 8KB
jeśli większość lini w twoim pliku jest większa niż 8KB(wydawało mi się, że mówimy o socketach a nie plikach

) lepiej podać max. długość linii...
coś mi się wydaje, że ten cały quote był o plikach
[dop. do posta poniżej]
ano można o tym nie pomyślałem, przecież funkcja może mieć wiele `funkcji`

bye