You are here: Re: getting bad results from fsocketopen « PHP Programming Language « IT news, forums, messages
Re: getting bad results from fsocketopen

Posted by yawnmoth on 09/27/83 11:47

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.

 

Navigation:

[Reply to this 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

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