Perlfect Solutions

[Perlfect-search] results page sometimes broken
Sat, 14 Feb 2004 13:26:49 +0100
I remember that I had the same symptoms after my provider updated PHP to 
version 4.3.2. I eventually managed to solve the problem by replacing 
fread with the file_get_contents command in the wrapper script (the 
behaviour of fread is altered in this version of PHP). You also have to 
remove fopen and fclose, they are not needed for file_get_contents. 
Maybe that helps for your problem, too.


Michael Heim

On 13.02.2004 21:24, Daniel Naber wrote:

>On Friday 13 February 2004 10:17, Michael Spiess wrote:
>>Look up for "park": Sometimes OK, sometimes not(!!) if
>>you press the refresh button (or search again) always
>>different results are displayed - broken at different
>That's indeed strange. I assume it works okay without the PHP wrapper?
>So the problem must be there. You could try increasing the value in this 
>call: fread($file, 100000); If that doesn't help, maybe call flush(); 
>after "print $result;". If even that doesn't help, what version of PHP are 
>you using?
> Daniel