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,

Re: [PHP] file_get_contents limit

2010-06-29 Thread Andrew Ballard
On Tue, Jun 29, 2010 at 4:39 PM, Ashley Sheridan wrote: > > On Tue, 2010-06-29 at 16:37 -0400, Andrew Ballard wrote: > > > On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan > > wrote: > > > > > > Have you looked at the memory settings in php.ini? > > > > > > > I doubt that is the cause, at least n

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 > 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 Cnd

Re: [PHP] file_get_contents limit

2010-06-29 Thread Andrew Ballard
On Tue, Jun 29, 2010 at 4:21 PM, Ashley Sheridan 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" escreveu na mensagem >> news:12

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" escreveu na mensagem > news:1277841481.2253.39.ca...@localhost... > > On Tue, 2010-06-29 at 1

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" 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 file with only one li

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 adv