Re: [PHP] file_get_contents limit

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 16:53 -0300, Jo?o C?ndido de Souza Neto wrote: Ive got a file with only one line 21917 characters long but when I read this file using $varData = file_get_contents(file.txt) it gets only 21504 characters. Anyone would know why does it happen? Thanks in advance.

Re: [PHP] file_get_contents limit

2010-06-29 Thread Jo�o C�ndido de Souza Neto
The characters are stripped off of the end of the file after that point. -- João Cândido de Souza Neto Ashley Sheridan a...@ashleysheridan.co.uk escreveu na mensagem news:1277841481.2253.39.ca...@localhost... On Tue, 2010-06-29 at 16:53 -0300, Jo?o C?ndido de Souza Neto wrote: Ive got a

Re: [PHP] file_get_contents limit

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 17:02 -0300, Jo?o C?ndido de Souza Neto wrote: The characters are stripped off of the end of the file after that point. -- Joo Cndido de Souza Neto Ashley Sheridan a...@ashleysheridan.co.uk escreveu na mensagem news:1277841481.2253.39.ca...@localhost... On Tue,

Re: [PHP] file_get_contents limit

2010-06-29 Thread Andrew Ballard
On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-29 at 17:02 -0300, Jo?o C?ndido de Souza Neto wrote: The characters are stripped off of the end of the file after that point. -- Joo Cndido de Souza Neto Ashley Sheridan

Re: [PHP] file_get_contents limit

2010-06-29 Thread Ashley Sheridan
On Tue, 2010-06-29 at 16:37 -0400, Andrew Ballard wrote: On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-29 at 17:02 -0300, Jo?o C?ndido de Souza Neto wrote: The characters are stripped off of the end of the file after that point. --

Re: [PHP] file_get_contents limit

2010-06-29 Thread Andrew Ballard
On Tue, Jun 29, 2010 at 4:39 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-29 at 16:37 -0400, Andrew Ballard wrote: On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Have you looked at the memory settings in php.ini? I

RE: [PHP] file_get_contents limit

2010-06-29 Thread Daevid Vincent
-Original Message- From: Andrew Ballard [mailto:aball...@gmail.com] Sent: Tuesday, June 29, 2010 1:56 PM To: a...@ashleysheridan.co.uk Cc: Jo?o C?ndido de Souza Neto; php-general@lists.php.net Subject: Re: [PHP] file_get_contents limit On Tue, Jun 29, 2010 at 4:39 PM, Ashley