Reply to Re: getting bad results from fsocketopen

Your name:

Reply:


Posted by lawrence k on 11/19/62 11:47

yawnmoth wrote:
> lawrence k wrote:
> > <snip>
> > It's curious, but fsocketopen takes forever. It's basically unuseable
> > for me. It brings the site to a standstill. My code is taken straight
> > from an example on www.php.net:
> >
> > <snip>
> >
> > while (!feof($fp)) {
> > // echo fgets($fp, 128);
> > }
> > fclose($fp);
> > }
> >
> The file pointer never gets to the end of the file because its never
> incremented. As such, try uncommenting out the fgets.

Thanks a million for catching that. You saved the day again.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация