View Single Post
Old 09-26-2003, 05:11 AM   #1
uruloki
Green Mole
 
Join Date: Sep 2003
Posts: 6
Unhappy Problems with flush()

Sorry for my english, I'm spanish. I work over win2000/IIS with PHP 4.3.0 and MySQL 3.23.55. I have been working on your "motor search", adapting to our requirements. I have the problem that sometimes when i'm updating and at the end of the process, the mysql service give me an exception and erases/corrups some tables.
I looked for the problem an it occurs at the end of the spider process when it calls the flush() function.

the code:
...
//display something to avoid browser-side timeout
echo "Entrada -> Liber**** el Buffer.<br />";
flush();
echo "Salida -> Liber**** el Buffer<br />";
}
}
unset($lien);
echo $br;
.....

If you notice any problem like this one, answer this post.
Thanks
PHPDIG rules! (I hope you understand me )
uruloki is offline   Reply With Quote