t is binary safe.
>
> Matt
> - Original Message -
> From: Lee P. Reilly <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 26, 2002 4:09 PM
> Subject: Re: [PHP] Upload problem - PC, *nix, and Max EOL characters
>
> >
> &g
No, fgets() reads to EOL, I use it all the time.
fread() will read to EOF, if you let it, as it is binary safe.
Matt
- Original Message -
From: Lee P. Reilly <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 4:09 PM
Subject: Re: [PHP] Upload proble
> $size = strlen($filerow);
> $row_split = preg_split("/\s+/", $filerow);
>
> $value1 = $row_split[0];
> $value2 = $row_split[1];
> $value3 = $row_split[2];
> }
>
> Matt
> - Original Message -
> From: Lee P. Reilly <[EMAIL P
Hi,
Thanks for the reply. I appreciate your help. fgets() reads to the EOF; not the
EOL. Is there something similar to fgets() that I can use? Perhaps where I can
state explicity read the file until you encounter and EOL char?
Cheers,
Lee
Matt Vos wrote:
> Loop an fgets()
>
> i.e.
> $fp = fope
gt;
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 2:58 PM
Subject: [PHP] Upload problem - PC, *nix, and Max EOL characters
> Hi everyone,
>
> I have an application, where users can upload data files formatted as
> follows:
>
> 0.0106375 686.601
Hi everyone,
I have an application, where users can upload data files formatted as
follows:
0.0106375 686.60165.391
0.01147 606.46754.997
0.0122815 640.284 46.5355
0.0130753 668.396 39.3671
0
6 matches
Mail list logo