View Single Post
Old 06-23-2009, 10:11 AM   #3 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Since you say that the problem appears to lie with the feof line (the @ before fopen won't be helping at all) it appears to be a timeout problem. See the warning notes on the feof manual page. The second one may be the exact problem that you're facing (suppressed fopen error, infinite feof loop until timeout).

For a start, remove the @ before fopen and see what error is being generated as I suspect there will be one.
Salathe is offline  
Reply With Quote