Re: [PHP] Printf fails on large files

2001-08-18 Thread Moriyoshi Koizumi
Hello, I don't think the problem you have is not the size of the file. It seems to depend on the content of that. (line 1) $a = 'abc%d'; (line 2) printf( "$a" ); will cause too-few-arguments error because variable $a contains the sequence of '%','d', which should be interpreted as formatting ch

Re: [PHP] Printf fails on large files

2001-08-17 Thread Inércia Sensorial Trabalhando
He said no, here's the error: Warning: printf(): too few arguments in /htdocs/content.php on line 20 And here's the code. Remember that only fails on large files: SITUAÇÃO DA CAIXA POSTAL Resultado da Consulta para: . SITUAÇÃO DA CAIXA POSTAL\n\n"); $situacao = `l

Re: [PHP] Printf fails on large files

2001-08-17 Thread John Meyer
At 05:14 PM 8/17/01 -0300, Inércia Sensorial Trabalhando wrote: > Hi All, > > A friend of mine said his printf is failing when he parses a variable from >a 4.5 mega file. On smaller files, it works fine. > > There's a limit on the printf or somewhere else? > > Thanks. Is he throwing the

[PHP] Printf fails on large files

2001-08-17 Thread Inércia Sensorial Trabalhando
Hi All, A friend of mine said his printf is failing when he parses a variable from a 4.5 mega file. On smaller files, it works fine. There's a limit on the printf or somewhere else? Thanks. -- Julio Nobrega A hora está chegando: http://toca.sourceforge.net -- PHP General Mailing