RE: [PHP] ignore_repeated_errors has no effect

2010-11-08 Thread Tommy Pham
> -Original Message- > From: Tommy Pham [mailto:tommy...@gmail.com] > Sent: Monday, November 08, 2010 4:25 AM > To: 'Simon Marchi'; 'Andre Polykanine'; 'php-general@lists.php.net' > Subject: RE: [PHP] ignore_repeated_errors has no effect >

RE: [PHP] ignore_repeated_errors has no effect

2010-11-08 Thread Tommy Pham
> -Original Message- > From: thunder...@gmail.com [mailto:thunder...@gmail.com] On Behalf > Of Simon Marchi > Sent: Sunday, November 07, 2010 8:45 AM > To: Andre Polykanine; php-general@lists.php.net > Subject: Re: [PHP] ignore_repeated_errors has no effect > > H

Re: [PHP] ignore_repeated_errors has no effect

2010-11-07 Thread Simon Marchi
> - Original message - > From: Simon Marchi > To: php-general@lists.php.net > Date: Sunday, November 7, 2010, 11:03:40 AM > Subject: [PHP] ignore_repeated_errors has no effect > > Hi ! > My problem is the following. Due to crappy code by one of my users, > PHP entered

[PHP] ignore_repeated_errors has no effect

2010-11-07 Thread Simon Marchi
Hi ! My problem is the following. Due to crappy code by one of my users, PHP entered an infinite loop generating an error, causing very high load on the server and gigantic log files. The lines at fault were the following while(strlen(trim($ligne))==0 && !feof($fic))     $ligne = fgets($fic,1024);