[PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Lee P. Reilly
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

Re: [PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Matt Vos
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.60165.391 0.01147 606.46754.997 0.0122815 640.284 46.5355

Re: [PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Lee P. Reilly
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 =

Re: [PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Lee P. Reilly
= $row_split[1]; $value3 = $row_split[2]; } Matt - Original Message - From: Lee P. Reilly [EMAIL PROTECTED] 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

Re: [PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Matt Vos
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 problem - PC, *nix

Re: [PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Lee P. Reilly
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 Hi, Thanks for the reply. I appreciate your help. fgets() reads to the EOF