Description
string
stream_get_line ( resource handle, int length, string ending)
Returns a string of up to length bytes read from the file
pointed to by handle_ Reading ends when
length bytes have been read, when the string specified by
ending is found (which is notincluded
in the return value), or on EOF (whichever comes first)_
If an error occurs, returns FALSE_
This function is nearly identical to fgets()
except in that it allows end of line delimiters other than the
standard \n, \r, and \r\n, and does not
return the delimiter itself_
See also fread(),
fgets(), and
fgetc(),