Perlfect Solutions
 

[Perlfect-search] results page sometimes broken

Michael Spiess perlfect-search@perlfect.com
Sat, 14 Feb 2004 18:49:12 +0100 (CET)
Thanks for that hint Michael. 

file_get_contents($url) was indeed the solution.
With yours and Daniel's help everything is OK!

Regards,
Michael
 --- "fulan@gmx.net" <fulan@gmx.net> schrieb: > 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.
> 
> Regards
> 
> 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
> >>lines...
> >>    
> >>
> >
> >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?
> >
> >Regards
> > Daniel
> >
> >  
> >
> 
> _______________________________________________
> perlfect-search mailing list
> perlfect-search@perlfect.com
> To unsubscribe, set other personal options or view
> the list archives please visit:
> 
>  


        
                
Mit sch�nen Gr��en von Yahoo! Mail - http://mail.yahoo.de