Re: file_get_contents limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <ash@xxxxxxxxxxxxxxxxxxxx> escreveu na mensagem 
> news:1277841481.2253.39.camel@xxxxxxxxxxxx
> > 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.
> >>
> >> -- 
> >> Joo Cndido de Souza Neto
> >>
> >>
> >>
> >
> >
> > Are the characters stripped off of the end of the file after that point,
> > or is the encoding not correctly determined and some characters are
> > converted the wrong ones?
> >
> > Thanks,
> > Ash
> > http://www.ashleysheridan.co.uk
> >
> >
> > 
> 
> 
> 

Have you looked at the memory settings in php.ini?

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux