st modify the While statement:
> while(strlen(trim($ligne))==0 && file_exists($fic) && !feof($fic))
>
> --
> With best regards from Ukraine,
> Andre
> Skype: Francophile
> Twitter: http://twitter.com/m_elensule
> Facebook: http://facebook.com/menelion
>
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);
2 matches
Mail list logo